From: Richard Kenner Date: Tue, 24 Sep 1996 02:45:12 +0000 (-0400) Subject: (BOOL): Define BOOL as int for VxWorks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ebf4f391047893678ed9a1e31c8a9d89ccc3981;p=gcc.git (BOOL): Define BOOL as int for VxWorks. From-SVN: r12827 --- diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h index bdfa3c82eaf..e48b0fd5bfb 100644 --- a/gcc/objc/objc.h +++ b/gcc/objc/objc.h @@ -36,7 +36,11 @@ extern "C" { /* ** Definition of the boolean type. */ +#ifdef __vxworks +typedef int BOOL; +#else typedef unsigned char BOOL; +#endif #define YES (BOOL)1 #define NO (BOOL)0