summaryrefslogtreecommitdiff
path: root/include/stdbool.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-10-02 14:06:17 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-10-02 14:06:17 +0000
commit81f35ef7b8fa46517bce21a0871ae866eee2fd69 (patch)
tree376d4b2efd021f73f0feadcde286c76cdd83956f /include/stdbool.h
parentc651063e59543db813ee24eabc42ac76a312a78c (diff)
pcc knows _Bool. ok beck@ miod @millert
Diffstat (limited to 'include/stdbool.h')
-rw-r--r--include/stdbool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index fca59bca603..cc1104c6f85 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdbool.h,v 1.3 2004/10/02 12:55:31 espie Exp $ */
+/* $OpenBSD: stdbool.h,v 1.4 2007/10/02 14:06:16 otto Exp $ */
/*
* Written by Marc Espie, September 25, 1999
@@ -10,7 +10,7 @@
#ifndef __cplusplus
-#if defined(__GNUC__) && __GNUC__ >= 3
+#if (defined(__GNUC__) && __GNUC__ >= 3) || defined(__PCC__)
/* Support for _C99: type _Bool is already built-in. */
#define false 0
#define true 1