diff --git a/config/objc-common.g b/config/objc-common.g index 74dc0ce80..4ee3561b4 100644 --- a/config/objc-common.g +++ b/config/objc-common.g @@ -5,8 +5,11 @@ #include -#ifndef NeXT_RUNTIME -#include +#ifdef __GNUSTEP_RUNTIME__ +#include +#endif + +#if !defined(NeXT_RUNTIME) && !defined(__GNUSTEP_RUNTIME__) @implementation NXConstantString - (const char*) cString { @@ -23,7 +26,8 @@ * for runtime implementations which won't link without them. */ -@interface NSObject : Object +@interface NSObject + id isa; @end @implementation NSObject @end