From: Robert Roebling Date: Sat, 10 Aug 2002 16:02:21 +0000 (+0000) Subject: Compile fix for wxBase/Unicode/Unix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e11fbb0103958ec589a9347ddde406b5e6c0e78 Compile fix for wxBase/Unicode/Unix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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