(BOOL): Define BOOL as int for VxWorks.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:45:12 +0000 (22:45 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:45:12 +0000 (22:45 -0400)
From-SVN: r12827

gcc/objc/objc.h

index bdfa3c82eaf5a16428d6b0b0b96932432932316f..e48b0fd5bfb4b3aee5627dd87754148a7dc24f3b 100644 (file)
@@ -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