aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-06 07:21:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-06 07:21:32 +0000
commitaeb5edbf07748ab3a12730301530b035f51ae1b6 (patch)
treeeccdac600597c7baa08833296cdd51552ec3b95c /lib/setup.h
parent67dcddbef715649f227b8dcbd7fa2203ed335661 (diff)
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.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h7
1 files changed, 7 insertions, 0 deletions
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