Module Name: src
Committed By: joerg
Date: Fri Apr 26 10:58:22 UTC 2013
Modified Files:
src/include: stdbool.h
Log Message:
Do not define bool/true/false for C++.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/include/stdbool.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/stdbool.h
diff -u src/include/stdbool.h:1.3 src/include/stdbool.h:1.4
--- src/include/stdbool.h:1.3 Mon Apr 28 20:22:54 2008
+++ src/include/stdbool.h Fri Apr 26 10:58:22 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: stdbool.h,v 1.3 2008/04/28 20:22:54 martin Exp $ */
+/* $NetBSD: stdbool.h,v 1.4 2013/04/26 10:58:22 joerg Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,13 +37,8 @@
#define true 1
#define false 0
-#else
-#define bool bool
-
-#define true true
-#define false false
-#endif /* __cplusplus */
#define __bool_true_false_are_defined 1
+#endif /* __cplusplus */
#endif /* _STDBOOL_H_ */