From: Stefan Csomor Date: Wed, 11 Feb 2004 15:08:47 +0000 (+0000) Subject: added condition for DARWIN (thanks to Steve Hartwell) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7a21e692d22ec16a5de7dbbb73761d4c4456edaa added condition for DARWIN (thanks to Steve Hartwell) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index c9daf16772..1f80781a6a 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1592,7 +1592,7 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz) ok = getcwd(cbuf, sz) != NULL; #endif // platform - #if wxUSE_UNICODE && !defined(__WXMAC__) + #if wxUSE_UNICODE && !(defined(__WXMAC__) && !defined(__DARWIN__)) // finally convert the result to Unicode if needed wxConvFile.MB2WC(buf, cbuf, sz); #endif // wxUSE_UNICODE