OSDN Git Service

[gcc/ChangeLog]
[pf3gnuchains/gcc-fork.git] / libobjc / objc / objc-api.h
index b50fa1b..dc8af06 100644 (file)
@@ -342,7 +342,11 @@ typedef struct objc_category {
 typedef struct objc_super {
   id      self;                           /* Id of the object sending
                                                 the message. */
+#ifdef __cplusplus
+  Class super_class;
+#else
   Class class;                              /* Object's super class. */
+#endif
 } Super, *Super_t;
 
 IMP objc_msg_lookup_super(Super_t super, SEL sel);