X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33a8563e66737797abdada2a7dc89c918b9567af..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 8b3aacdfa2..a08ed217a8 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -48,7 +48,7 @@ #elif defined(__WINDOWS__) # include // needed to get HMODULE typedef HMODULE wxDllType; -#elif defined(__APPLE__) && defined(__UNIX__) +#elif defined(__DARWIN__) typedef void *wxDllType; #elif defined(__WXMAC__) typedef CFragConnectionID wxDllType; @@ -171,7 +171,7 @@ private: // no copy ctor/assignment operators (or we'd try to unload the library // twice) - DECLARE_NO_COPY_CLASS(wxDynamicLibrary); + DECLARE_NO_COPY_CLASS(wxDynamicLibrary) }; // ----------------------------------------------------------------------------