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 --- src/setup.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/setup.h b/src/setup.h index 139b7467f..641be4748 100644 --- a/src/setup.h +++ b/src/setup.h @@ -128,17 +128,6 @@ #include #endif -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - -#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(__ECOS) && !defined(typedef_bool) -typedef unsigned char bool; -#define typedef_bool -#endif #ifndef OS #define OS "unknown" -- cgit v1.2.3