mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 00:30:49 +00:00
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:
parent
af8fc16268
commit
e9be2bc3c5
1 changed files with 7 additions and 3 deletions
|
@ -5,8 +5,11 @@
|
|||
|
||||
#include <objc/Object.h>
|
||||
|
||||
#ifndef NeXT_RUNTIME
|
||||
#include <objc/NXConstStr.h>
|
||||
#ifdef __GNUSTEP_RUNTIME__
|
||||
#include <objc/hooks.h>
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue