From e9be2bc3c52ef313d6a8eee36f4eab4f39d8888b Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 9 Sep 2010 23:22:46 +0000 Subject: [PATCH] Fix configure with libobjc2. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31283 72102866-910b-0410-8b05-ffd578937521 --- config/objc-common.g | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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