Author: mlytwyn Date: Fri Jan 15 18:49:16 2016 New Revision: 39283 URL: http://svn.gna.org/viewcvs/gnustep?rev=39283&view=rev Log: Oops...
Modified: libs/base/branches/gnustep_testplant_branch/Source/NSObject.m Modified: libs/base/branches/gnustep_testplant_branch/Source/NSObject.m URL: http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSObject.m?rev=39283&r1=39282&r2=39283&view=diff ============================================================================== --- libs/base/branches/gnustep_testplant_branch/Source/NSObject.m (original) +++ libs/base/branches/gnustep_testplant_branch/Source/NSObject.m Fri Jan 15 18:49:16 2016 @@ -994,7 +994,7 @@ extern BOOL objc_create_block_classes_as_subclasses_of(Class super); -#ifdef USE_OBJC_CAP_ARC +#ifdef OBJC_CAP_ARC static id gs_weak_load(id obj) { return [obj retainCount] > 0 ? obj : nil; @@ -1003,7 +1003,7 @@ + (void) load { -#ifdef USE_OBJC_CAP_ARC +#ifdef OBJC_CAP_ARC _objc_weak_load = gs_weak_load; #endif objc_create_block_classes_as_subclasses_of(self); @@ -2111,7 +2111,7 @@ #if (GS_WITH_GC == 0) if (NSDecrementExtraRefCountWasZero(self)) { -# ifdef USE_OBJC_CAP_ARC +# ifdef OBJC_CAP_ARC objc_delete_weak_refs(self); # endif [self dealloc]; _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs