omit libobjc2 specific test where feature not available

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-05-26 10:05:51 +00:00
parent a43250585a
commit 8591ebc6e0

View file

@ -5,7 +5,7 @@
/* Only do associated objects test if they are supported by the runtime.
*/
#if OBJC2RUNTIME
#if OBJC2RUNTIME && defined(OBJC_ASSOCIATION_RETAIN)
static BOOL AssociatedObjectDeallocCalled = NO;
static const char* objc_setAssociatedObjectKey = "objc_setAssociatedObjectKey";