Index: tests/OFBlockTests.m ================================================================== --- tests/OFBlockTests.m +++ tests/OFBlockTests.m @@ -19,17 +19,15 @@ #import "OFBlock.h" #import "OFString.h" #import "OFAutoreleasePool.h" #if defined(OF_OBJFW_RUNTIME) -# include -#elif defined(OF_APPLE_RUNTIME) || defined(OF_GNU_RUNTIME) +# include "runtime.h" +#elif defined(OF_APPLE_RUNTIME) # include -#elif defined(OF_OLD_GNU_RUNTIME) -# include #endif -#if defined(OF_OLD_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME) +#ifdef OF_OBJFW_RUNTIME # define objc_getClass objc_get_class #endif #import "TestsAppDelegate.h"