diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-11-06 07:21:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-11-06 07:21:32 +0000 |
commit | aeb5edbf07748ab3a12730301530b035f51ae1b6 (patch) | |
tree | eccdac600597c7baa08833296cdd51552ec3b95c | |
parent | 67dcddbef715649f227b8dcbd7fa2203ed335661 (diff) | |
download | curl-aeb5edbf07748ab3a12730301530b035f51ae1b6.tar.gz |
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.
-rw-r--r-- | include/curl/curl.h | 7 | ||||
-rw-r--r-- | 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 <time.h> #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 |