X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33a8563e66737797abdada2a7dc89c918b9567af..8366ae934aab9f835747b0c2e456231e8795fe78:/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) }; // ----------------------------------------------------------------------------