]> granicus.if.org Git - curl/commitdiff
Define TRUE and FALSE unless already present. I've moved away those
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 Nov 2003 13:07:54 +0000 (13:07 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 Nov 2003 13:07:54 +0000 (13:07 +0000)
definitions from the global curl header and thus this needs to do it
themselves.

tests/libtest/test.h

index f11bfdd6c85b5a1eb4113da5eb696f718f3b20c7..8a6c02130cf34a768a7cfc16b1968ecb3d69d6aa 100644 (file)
@@ -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 */