From 298d73e547cd1bfefac5a848c92a1491c444542a Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Sun, 12 Feb 2006 10:13:32 +0000 Subject: [PATCH] minor fix to avoid conflict with Darwin and Cocoa use --- harbour/include/hbdefs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index 769b93c5dd..a6017744b7 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -157,8 +157,10 @@ #if ! defined( HB_DONT_DEFINE_BASIC_TYPES ) - #undef BOOL /* boolean */ - typedef int BOOL; + #ifndef HB_DONT_DEFINE_BOOL + #undef BOOL /* boolean */ + typedef int BOOL; + #endif #undef UINT /* varies with platform */ typedef unsigned int UINT;