--- gcc/objc/runtime.h 2018/04/24 18:10:17 1.1 +++ gcc/objc/runtime.h 2018/04/24 18:20:15 1.1.1.2 @@ -27,12 +27,12 @@ You should have received a copy of the G #ifndef __objc_runtime_INCLUDE_GNU #define __objc_runtime_INCLUDE_GNU -#include "gstdarg.h" /* for varargs and va_list's */ +#include /* for varargs and va_list's */ #include #include -#include "gstddef.h" /* so noone else will get system versions */ +#include /* so noone else will get system versions */ #include "assert.h" #include "objc/objc.h" /* core data types */ @@ -61,12 +61,14 @@ extern BOOL __objc_class_links_resolved; extern int __objc_selector_max_index; #ifdef DEBUG -#define DEBUG_PRINTF printf +#define DEBUG_PRINTF(format, args...) printf (format, ## args) #else -#define DEBUG_PRINTF +#define DEBUG_PRINTF(format, args...) #endif BOOL __objc_responds_to (id object, SEL sel); /* for internal use only! */ +SEL __sel_register_typed_name (const char*, const char*, + struct objc_selector*); #endif /* not __objc_runtime_INCLUDE_GNU */