From 6d9bd62495060b58a269c8780d6e8e57a1a6f2db Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Mon, 12 Apr 1993 15:44:25 +0000 Subject: [PATCH] now "#include"s objc-archive.h From-SVN: r4094 --- gcc/objc/objc.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/objc/objc.h b/gcc/objc/objc.h index da1407ea96f..cf2f4cb186a 100644 --- a/gcc/objc/objc.h +++ b/gcc/objc/objc.h @@ -280,7 +280,7 @@ typedef struct objc_class *MetaClass_t; ** change type. The compiler generates "char* const" and places a string in ** the following member variables: super_class. */ -typedef struct objc_class { +struct objc_class { MetaClass_t class_pointer; /* Pointer to the class's meta class. */ struct objc_class* super_class; /* Pointer to the super @@ -316,7 +316,10 @@ typedef struct objc_class { struct objc_protocol_list *protocols; /* Protocols conformed to */ -} Class, *Class_t, MetaClass; +}; +#define Class struct objc_class +#define Class_t Class* +typedef struct objc_class MetaClass; /* Protocol support */ @@ -412,6 +415,7 @@ typedef struct objc_category { */ typedef struct objc_typed_stream TypedStream; +#include /*