fs/Traits: enable _UNICODE on Windows
Use wchar_t for everything on Windows. Solves a lot of filesystem charset problems.
This commit is contained in:
@@ -103,6 +103,7 @@ mingw32* | windows*)
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DWINVER=0x0600 -D_WIN32_WINNT=0x0600"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DSTRICT"
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DUNICODE -D_UNICODE"
|
||||
LIBS="$LIBS -lws2_32"
|
||||
host_is_windows=yes
|
||||
host_is_unix=no
|
||||
|
Reference in New Issue
Block a user