From 527850928d349269029a38bace3aba9cb925d31b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg <daniel@haxx.se> Date: Thu, 6 Nov 2003 13:07:54 +0000 Subject: [PATCH] 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. --- tests/libtest/test.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/libtest/test.h b/tests/libtest/test.h index f11bfdd6c8..8a6c02130c 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 */ -- GitLab