Use wgetcwd() with MinGW to handle non-ASCII working directory
All versions of MinGW seem to have this function, so use it to ensure that wxGetCwd() returns the correct result even when the current directory contains non-ASCII characters. Closes https://github.com/wxWidgets/wxWidgets/pull/307
This commit is contained in:
committed by
Vadim Zeitlin
parent
e9af6d6ec7
commit
3057c18939
@@ -82,7 +82,7 @@
|
||||
#endif
|
||||
|
||||
// TODO: Borland probably has _wgetcwd as well?
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define HAVE_WGETCWD
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user