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. --- lib/setup.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/setup.h') 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