viewing paste ra_bool | Diff

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -177,6 +177,7 @@
 // integer with exact processor width (and best speed)
 //////////////////////////////
 #include <stddef.h> // size_t
+#include <stdbool.h> //boolean
 
 #if defined(WIN32) && !defined(MINGW) // does not have a signed size_t
 //////////////////////////////
@@ -261,9 +262,9 @@
 //////////////////////////////
 
 // boolean types for C
-typedef char bool;
-#define false  (1==0)
-#define true   (1==1)
+//typedef char bool;
+//#define false        (1==0)
+//#define true (1==1)
 
 //////////////////////////////
 #endif // not __cplusplus
Viewed 376 times, submitted by lighta.