aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-11-06 13:07:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-11-06 13:07:54 +0000
commit527850928d349269029a38bace3aba9cb925d31b (patch)
treed3309f79dea925027e6a658a45f9969c96a4e70b /tests/libtest/test.h
parenteee3f131349be028989afb8aa7ed0fea874f871c (diff)
Define TRUE and FALSE unless already present. I've moved away those
definitions from the global curl header and thus this needs to do it themselves.
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index f11bfdd6c..8a6c02130 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -8,5 +8,13 @@
#include <stdio.h>
#include <string.h>
+#ifndef FALSE
+#define FALSE 0
+#endif
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+
extern char *arg2; /* set by first.c to the argv[2] or NULL */