Add +initialize to fake NSObject class for configure test programs

when compiling with the Apple runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36885 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2013-07-14 16:45:29 +00:00
parent e6e7cf4679
commit 54022a2afe
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2013-07-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* config/objc-common.g: Add +initialize to fake NSObject class
when compiling with the Apple runtime, since it expects that
method to be defined.
2013-07-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/GNUstepBase/GSVersionMacros.h: Fix definition of

View file

@ -53,6 +53,10 @@ GS_OBJC_ROOT_CLASS @interface NSObject
obj->isa = self;
return obj;
}
#if defined(NeXT_RUNTIME)
/* The Apple runtime always calls this method */
+ (void)initialize { }
#endif
@end
@interface NSConstantString : NSObject