Updated to use the above IN_OBJC
authorKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 26 Apr 1993 07:39:32 +0000 (07:39 +0000)
committerKresten Krab Thorup <krab@gcc.gnu.org>
Mon, 26 Apr 1993 07:39:32 +0000 (07:39 +0000)
From-SVN: r4231

gcc/objc/objc.h

index 972fe76944a84d5d25dca3d8fa571deee8223bb8..ea6c1adb4759a910e40978cdecb9092fae0f0e0d 100644 (file)
@@ -42,9 +42,12 @@ extern const char* __objc_hash_lookup_id;
 #endif
 
 
-#include <stdarg.h>
 #include <stdio.h>
-
+#ifdef IN_OBJC
+#include <gstdarg.h>
+#else
+#include <stdarg.h>
+#endif
 
 #define nil (id)0                               /* id of Nil instance */
 #define Nil (Class_t)0                          /* id of Nil class */
@@ -233,7 +236,7 @@ typedef struct objc_method_list {
 } MethodList, *MethodList_t;
 
 
-#include <objc/sarray.h>
+#include "objc/sarray.h"
 
 #ifdef OBJC_HASH_LOOKUP
 
@@ -465,7 +468,7 @@ static id nil_method(id rcv, SEL op, ...) { return rcv; }
 
 #ifdef OBJC_HASH_LOOKUP
 
-#include <objc/cache.h>
+#include "objc/cache.h"
 
 extern __inline__ IMP
 objc_msg_lookup(id receiver, SEL op)