Commit aeb5edbf authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 67dcddbe
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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
+7 −0
Original line number Diff line number Diff line
@@ -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