Index: src/OFConstString.h ================================================================== --- src/OFConstString.h +++ src/OFConstString.h @@ -9,16 +9,12 @@ * the packaging of this file. */ #import "OFObject.h" -#if !defined(__objc_INCLUDE_GNU) && !defined(OFCONSTSTRING_M) -/* - * This way, projects using libobjfw don't need -Wno-deprecated-declarations on - * OS X 10.5. - */ -extern void _OFConstStringClassReference; +#ifndef __objc_INCLUDE_GNU +extern void *_OFConstStringClassReference; #endif /** * A class for storing static strings using the @"" literal. */ Index: src/OFConstString.m ================================================================== --- src/OFConstString.m +++ src/OFConstString.m @@ -13,11 +13,10 @@ #include #include #include -#define OFCONSTSTRING_M #import "OFConstString.h" #import "OFString.h" #import "OFExceptions.h" #import "OFMacros.h"