From aeb5edbf07748ab3a12730301530b035f51ae1b6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 6 Nov 2003 07:21:32 +0000 Subject: 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. --- include/curl/curl.h | 7 ------- lib/setup.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) 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 -- cgit v1.2.3