Commit e312f965 by Kresten Krab Thorup

Updated to use IN_OBJC

From-SVN: r4232
parent c4558090
...@@ -27,6 +27,8 @@ You should have received a copy of the GNU General Public License along with ...@@ -27,6 +27,8 @@ You should have received a copy of the GNU General Public License along with
#ifndef __objc_runtime_INCLUDE_GNU #ifndef __objc_runtime_INCLUDE_GNU
#define __objc_runtime_INCLUDE_GNU #define __objc_runtime_INCLUDE_GNU
#include <stdio.h> /* argh! I hate this */
#include "gstdarg.h" /* for varargs and va_list's */ #include "gstdarg.h" /* for varargs and va_list's */
#include "gstddef.h" /* so noone else will get system versions */ #include "gstddef.h" /* so noone else will get system versions */
#include "assert.h" #include "assert.h"
...@@ -37,8 +39,6 @@ You should have received a copy of the GNU General Public License along with ...@@ -37,8 +39,6 @@ You should have received a copy of the GNU General Public License along with
#include "objc/hash.h" /* hash structures */ #include "objc/hash.h" /* hash structures */
#include "objc/list.h" /* linear lists */ #include "objc/list.h" /* linear lists */
#include <stdio.h> /* argh! I hate this */
extern void __objc_add_class_to_hash(Class_t); /* (objc-class.c) */ extern void __objc_add_class_to_hash(Class_t); /* (objc-class.c) */
extern void __objc_init_selector_tables(); /* (objc-sel.c) */ extern void __objc_init_selector_tables(); /* (objc-sel.c) */
extern void __objc_init_class_tables(); /* (objc-class.c) */ extern void __objc_init_class_tables(); /* (objc-class.c) */
......
...@@ -39,7 +39,11 @@ extern const char* __objc_sparse2_id; ...@@ -39,7 +39,11 @@ extern const char* __objc_sparse2_id;
extern const char* __objc_sparse3_id; extern const char* __objc_sparse3_id;
#endif #endif
#ifdef IN_OBJC
#include "gstddef.h"
#else
#include <stddef.h> #include <stddef.h>
#endif
extern int nbuckets; /* for stats */ extern int nbuckets; /* for stats */
extern int nindices; extern int nindices;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment