Added wxOKlibc(), which checks for glibc2.0, which incorrectly does UTF-8

conversion even when it's not in UTF-8 locale


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-24 13:57:26 +00:00
parent b43ca95a8f
commit 434d2cb3c6
2 changed files with 23 additions and 2 deletions

View File

@@ -458,6 +458,7 @@ size_t WXDLLEXPORT wxWC2MB(char *buf, const wchar_t *psz, size_t n);
#define wxWX2WC wxMB2WC
#endif
#endif
bool WXDLLEXPORT wxOKlibc(); // for internal use
// if libc versions are not available, use replacements defined in wxchar.cpp
#ifndef wxStrdup