From: Daniel Stenberg Date: Thu, 6 Nov 2003 07:21:32 +0000 (+0000) Subject: Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't X-Git-Tag: curl-7_11_0~281 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeb5edbf07748ab3a12730301530b035f51ae1b6;p=curl Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't belong in the public header file. They are not in our name space so we should not set them globally. --- diff --git a/include/curl/curl.h b/include/curl/curl.h index 4c87a33ce..42d685826 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -58,13 +58,6 @@ # include #endif /* defined (vms) */ -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - #include "types.h" #ifdef __cplusplus diff --git a/lib/setup.h b/lib/setup.h index 60b9c9766..ada3bfb88 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -57,6 +57,13 @@ #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