diff --git a/ChangeLog b/ChangeLog index 2ec56bb45..fe7767b61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-07-14 Wolfgang Lux + + * 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 * Headers/GNUstepBase/GSVersionMacros.h: Fix definition of diff --git a/config/objc-common.g b/config/objc-common.g index 1ab518f2b..c23304f6b 100644 --- a/config/objc-common.g +++ b/config/objc-common.g @@ -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