1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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.
This commit is contained in:
Daniel Stenberg 2003-11-06 07:21:32 +00:00
parent 67dcddbef7
commit aeb5edbf07
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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