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