Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment