@@ -12,16 +12,18 @@ #include "config.h" #import "OFConstString.h" #import "OFExceptions.h" -#ifndef __objc_INCLUDE_GNU +#ifdef OF_APPLE_RUNTIME +#import + void *_OFConstStringClassReference; #endif @implementation OFConstString -#ifndef __objc_INCLUDE_GNU +#ifdef OF_APPLE_RUNTIME + (void)load { objc_setFutureClass((Class)&_OFConstStringClassReference, "OFConstString"); }