]> pd.if.org Git - pdclib.old/blobdiff - includes/stdbool.h
Modify various POSIX platform files so you can build on top of glibc for testing
[pdclib.old] / includes / stdbool.h
index f067e975d545ceeaaa5bd360ea0965c864dc9760..a01cc2f600cc93345629c56db7d755134c818ad2 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* 7.16 Boolean type and values <stdbool.h>
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -11,9 +9,12 @@
 #ifndef _PDCLIB_STDBOOL_H
 #define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
 
+#ifndef __cplusplus
 #define bool                          _Bool
 #define true                          1
 #define false                         0
+#endif
+
 #define __bool_true_false_are_defined 1
 
 #endif