]> granicus.if.org Git - curl/commitdiff
Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 Nov 2003 07:21:32 +0000 (07:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Nov 2003 07:21:32 +0000 (07:21 +0000)
belong in the public header file. They are not in our name space so we
should not set them globally.

include/curl/curl.h
lib/setup.h

index 4c87a33ce2533d34f4ff1d4581b94d7d2c5a2aa6..42d6858266c90f7dcb1212bfe8cb9dc46884af23 100644 (file)
 # include <time.h>
 #endif /* defined (vms) */
 
-#ifndef TRUE
-#define TRUE 1
-#endif
-#ifndef FALSE
-#define FALSE 0
-#endif
-
 #include "types.h"
 
 #ifdef  __cplusplus
index 60b9c9766f679709ffcb03614f7e44e6d074a7f2..ada3bfb88a42329cfbb8f89ad9d122e0367380ef 100644 (file)
 
 #endif
 
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
 #if !defined(__cplusplus) && !defined(__BEOS__)
 typedef unsigned char bool;
 #define typedef_bool