Fix configure with libobjc2.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31283 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-09-09 23:22:46 +00:00
parent af8fc16268
commit e9be2bc3c5

View file

@ -5,8 +5,11 @@
#include <objc/Object.h> #include <objc/Object.h>
#ifndef NeXT_RUNTIME #ifdef __GNUSTEP_RUNTIME__
#include <objc/NXConstStr.h> #include <objc/hooks.h>
#endif
#if !defined(NeXT_RUNTIME) && !defined(__GNUSTEP_RUNTIME__)
@implementation NXConstantString @implementation NXConstantString
- (const char*) cString - (const char*) cString
{ {
@ -23,7 +26,8 @@
* for runtime implementations which won't link without them. * for runtime implementations which won't link without them.
*/ */
@interface NSObject : Object @interface NSObject
id isa;
@end @end
@implementation NSObject @implementation NSObject
@end @end