Author: billbarker
Date: Thu Dec  1 21:28:57 2005
New Revision: 351602

URL: http://svn.apache.org/viewcvs?rev=351602&view=rev
Log:
Hide the defs in <stdbool.h> under Mac.

What brain-dead system includes junk like <stdbool.h> in the system header 
files?

Fix for Bug #37447


Modified:
    jakarta/commons/proper/daemon/trunk/src/native/unix/native/dso-dyld.c

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/dso-dyld.c
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/dso-dyld.c?rev=351602&r1=351601&r2=351602&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/native/dso-dyld.c 
(original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/dso-dyld.c Thu 
Dec  1 21:28:57 2005
@@ -20,6 +20,14 @@
 
 #include <mach-o/dyld.h>
 
+#ifdef __bool_true_false_are_defined 
+/* We define these differently than stdbool.h, so ignore the defs there */
+#undef bool
+#undef true
+#undef false
+#endif
+
+
 /* Print an error message and abort all if a specified symbol wasn't found */
 static void nosymbol(const char *s) {
     log_error("Cannot find symbol '%s' in library",s);



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to