projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c34d51
)
(BOOL): Define BOOL as int for VxWorks.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:45:12 +0000
(22:45 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 24 Sep 1996 02:45:12 +0000
(22:45 -0400)
From-SVN: r12827
gcc/objc/objc.h
patch
|
blob
|
history
diff --git
a/gcc/objc/objc.h
b/gcc/objc/objc.h
index bdfa3c82eaf5a16428d6b0b0b96932432932316f..e48b0fd5bfb4b3aee5627dd87754148a7dc24f3b 100644
(file)
--- 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