summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/objc/objc.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/objc/objc.h')
-rw-r--r--contrib/gcc/objc/objc.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/gcc/objc/objc.h b/contrib/gcc/objc/objc.h
index 979c5c8..e48b0fd 100644
--- a/contrib/gcc/objc/objc.h
+++ b/contrib/gcc/objc/objc.h
@@ -1,5 +1,5 @@
/* Basic data types for Objective C.
- Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -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
@@ -103,9 +107,9 @@ struct objc_class {
unsigned long info; /* Bit mask. See class masks
defined above. */
long instance_size; /* Size in bytes of the class.
- The sum of the class definition
- and all super class
- definitions. */
+ The sum of the class
+ definition and all super
+ class definitions. */
struct objc_ivar_list* ivars; /* Pointer to a structure that
describes the instance
variables in the class
OpenPOWER on IntegriCloud