]> pd.if.org Git - pdclib/blobdiff - includes/stdbool.h
remove() implemented directly without glue trampoline.
[pdclib] / includes / stdbool.h
index 66166e16deea21a6e783fe77e2615f3fe31a7612..daec901e450eb1633cbe183917c5e07918bb62d1 100644 (file)
@@ -1,6 +1,4 @@
-/* $Id$ */
-
-/* 7.16 Boolean type and values <stdbool.h>
+/* Boolean type and values <stdbool.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -9,10 +7,12 @@
 #ifndef _PDCLIB_STDBOOL_H
 #define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
 
-#define bool                          _Bool
-#define true                          1
-#define false                         0
+#ifndef __cplusplus
+#define bool  _Bool
+#define true  1
+#define false 0
+#endif
+
 #define __bool_true_false_are_defined 1
 
 #endif
-