Index: src/OFObject.h ================================================================== --- src/OFObject.h +++ src/OFObject.h @@ -62,11 +62,13 @@ #endif #if defined(__clang__) || __GCC_VERSION__ >= 406 || defined(OBJC_NEW_PROPERTIES) # define OF_HAVE_PROPERTIES # define OF_HAVE_OPTIONAL_PROTOCOLS -# define OF_HAVE_FAST_ENUMERATION +# if defined(__clang__) || __GCC_VERSION__ >= 406 || defined(OF_APPLE_RUNTIME) +# define OF_HAVE_FAST_ENUMERATION +# endif # define OF_HAVE_CLASS_EXTENSIONS #endif #if !__has_feature(objc_instancetype) # define instancetype id