X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07243717e26bda497d5a8b325c2e6acf4ee033cf..3d8704720a27b28532b9bec49f7df25b9f997d45:/src/common/wxchar.cpp diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index ea280f7231..a2b38784dd 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -105,7 +105,7 @@ size_t WXDLLEXPORT wxWC2MB(char *buf, const wchar_t *pwz, size_t n) bool WXDLLEXPORT wxOKlibc() { -#if wxUSE_WCHAR_T && defined(__UNIX__) && defined(__GLIBC__) +#if wxUSE_WCHAR_T && defined(__UNIX__) && defined(__GLIBC__) && !defined(__WINE__) // glibc 2.0 uses UTF-8 even when it shouldn't wchar_t res = 0; if ((MB_CUR_MAX == 2) &&