diff --git a/include/wx/mac/corefoundation/cfref.h b/include/wx/mac/corefoundation/cfref.h index fb84f0fc5c..694a19d7c9 100644 --- a/include/wx/mac/corefoundation/cfref.h +++ b/include/wx/mac/corefoundation/cfref.h @@ -23,8 +23,8 @@ * Note that Darwin CF uses extern for CF_EXPORT. If we need this on Win32 * or non-Darwin Mac OS we'll need to define the appropriate __declspec. */ -extern "C" { typedef const void *CFTypeRef; +extern "C" { extern /* CF_EXPORT */ CFTypeRef CFRetain(CFTypeRef cf); extern /* CF_EXPORT */