httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject apr_general.h TRUE/FALSE
Date Thu, 27 Apr 2000 21:16:48 GMT
to avoid re-defines of these common names, i think apr_general.h should
have this patch or TRUE/FALSE should be prefixed with AP_ (or APR_)

Index: lib/apr/include/apr_general.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_general.h,v
retrieving revision 1.29
diff -u -r1.29 apr_general.h
--- lib/apr/include/apr_general.h       2000/04/26 02:42:57     1.29
+++ lib/apr/include/apr_general.h       2000/04/27 21:05:07
@@ -72,8 +72,12 @@
 extern "C" {
 #endif /* __cplusplus */
 
+#ifndef TRUE
 #define TRUE 1
+#endif
+#ifndef FALSE
 #define FALSE 0
+#endif
 
 #define MAXIMUM_WAIT_OBJECTS 64
 



Mime
View raw message