WIN32: Make UNICODE the default build configuration

This commit is contained in:
sluicebox 2021-06-29 21:59:03 -05:00
parent 621599cd58
commit 2bca5da803
3 changed files with 6 additions and 6 deletions

6
configure vendored
View File

@ -222,7 +222,7 @@ _default_optimization_level=-O2
_nuked_opl=yes
_builtin_resources=yes
_windows_console=yes
_windows_unicode=no
_windows_unicode=yes
# Default commands
_ranlib=ranlib
_strip=strip
@ -910,8 +910,8 @@ Optional Features:
into the ScummVM binary
--enable-windows-console show console output on Windows (default)
--disable-windows-console do not show console output on Windows
--enable-windows-unicode use Windows Unicode APIs
--disable-windows-unicode use Windows ANSI APIs (default)
--enable-windows-unicode use Windows Unicode APIs (default)
--disable-windows-unicode use Windows ANSI APIs
Optional Libraries:
--with-alsa-prefix=DIR prefix where alsa is installed (optional)

View File

@ -729,9 +729,9 @@ void displayHelp(const char *exe) {
" e.g. vcpkg-provided libraries\n"
" (default: false)\n"
" --use-windows-unicode Use Windows Unicode APIs\n"
" (default: false)\n"
" --use-windows-ansi Use Windows ANSI APIs\n"
" (default: true)\n"
" --use-windows-ansi Use Windows ANSI APIs\n"
" (default: false)\n"
"\n"
"Engines settings:\n"
" --list-engines list all available engines and their default state\n"

View File

@ -255,7 +255,7 @@ struct BuildSetup {
useSDL2 = true;
useCanonicalLibNames = false;
useStaticDetection = true;
useWindowsUnicode = false;
useWindowsUnicode = true;
}
bool featureEnabled(std::string feature) const;