From 69565afab0be081211df57a245a222cbd3e43ed3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 22 Feb 2007 02:51:54 +0000 Subject: Check for stdbool.h at configuration stage, and include it if available. Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h --- tests/libtest/test.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/test.h b/tests/libtest/test.h index 5e298abbd..c7064f82e 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -12,6 +12,7 @@ version, but that might include "config.h" from the build dir so we need both of them in the include path), so that we get good in-depth knowledge about the system we're building this on */ + #include "setup.h" #include @@ -32,14 +33,6 @@ #include #endif -#ifndef FALSE -#define FALSE 0 -#endif - -#ifndef TRUE -#define TRUE 1 -#endif - #define TEST_ERR_MAJOR_BAD 100 #define TEST_ERR_RUNS_FOREVER 99 -- cgit v1.2.3