mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 16:50:42 +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>
|
#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
|
||||||
|
|
Loading…
Reference in a new issue