X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c74d8df09d0c0e182cb2063cc4cc546de3a00fae..f3fb0a0719e73206384a75f01bf5f50a7188078a:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 56fd795c0b..6dd60bf12f 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -12,8 +12,8 @@ #ifndef _WX_DYNLIB_H__ #define _WX_DYNLIB_H__ -#ifdef __GNUG__ -# pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +# pragma interface "dynlib.h" #endif #include "wx/setup.h" @@ -55,7 +55,7 @@ #elif defined(__DARWIN__) typedef void *wxDllType; #elif defined(__WXMAC__) - typedef CFragConnectionID wxDllType; + typedef void *wxDllType; #else # error "wxLibrary can't be compiled on this platform, sorry." #endif // OS