X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401eb3dec29c09b9afcc843842cba48b33a5089b..a696db453c79ff58509195244bcf260dfdf13c81:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index bc83817efc..aa917ba051 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -197,7 +197,7 @@ bool wxDynamicLibrary::Load(wxString libname, int flags) wxString msg(_("Failed to load shared library '%s'")); #if defined(HAVE_DLERROR) && !defined(__EMX__) -#if defined(__WXGTK__) && wxUSE_UNICODE +#if wxUSE_UNICODE wxWCharBuffer buffer = wxConvLocal.cMB2WC( dlerror() ); const wxChar *err = buffer; #else @@ -278,7 +278,7 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const wxString msg(_("wxDynamicLibrary failed to GetSymbol '%s'")); #if defined(HAVE_DLERROR) && !defined(__EMX__) -#if defined(__WXGTK__) && wxUSE_UNICODE +#if wxUSE_UNICODE wxWCharBuffer buffer = wxConvLocal.cMB2WC( dlerror() ); const wxChar *err = buffer; #else