diff --git a/src/3rdparty/3rdparty.vcxproj b/src/3rdparty/3rdparty.vcxproj index 98126a07d..9dd181349 100755 --- a/src/3rdparty/3rdparty.vcxproj +++ b/src/3rdparty/3rdparty.vcxproj @@ -95,7 +95,7 @@ Disabled ./include/;./include/sqlite/;./win32_include/;%(AdditionalIncludeDirectories) - $(ExternalCompilerOptions);WIN32;PDC_FORCE_UTF8;PDC_WIDE;_DEBUG;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) + $(ExternalCompilerOptions);PDC_DISABLE_MULTIBYTE;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_DEBUG;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebug @@ -114,7 +114,7 @@ Disabled ./include/;./include/sqlite/;./win32_include/;%(AdditionalIncludeDirectories) - $(ExternalCompilerOptions);WIN32;PDC_FORCE_UTF8;PDC_WIDE;_DEBUG;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) + $(ExternalCompilerOptions);PDC_DISABLE_MULTIBYTE;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_DEBUG;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebug @@ -136,7 +136,7 @@ true Speed ./include/;./include/sqlite;./win32_include/;%(AdditionalIncludeDirectories) - $(ExternalCompilerOptions);NDEBUG;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) + $(ExternalCompilerOptions);PDC_DISABLE_MULTIBYTE;NDEBUG;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) MultiThreaded @@ -158,7 +158,7 @@ true Speed ./include/;./include/sqlite;./win32_include/;%(AdditionalIncludeDirectories) - $(ExternalCompilerOptions);NDEBUG;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) + $(ExternalCompilerOptions);PDC_DISABLE_MULTIBYTE;NDEBUG;WIN32;PDC_FORCE_UTF8;PDC_WIDE;_CRT_SECURE_NO_DEPRECATE;SQLITE_THREADSAFE;PDCURSES_WINGUI;%(PreprocessorDefinitions) MultiThreaded diff --git a/src/3rdparty/win32_src/pdcurses/getch.c b/src/3rdparty/win32_src/pdcurses/getch.c index 86fe231c3..c565b407f 100644 --- a/src/3rdparty/win32_src/pdcurses/getch.c +++ b/src/3rdparty/win32_src/pdcurses/getch.c @@ -703,7 +703,7 @@ int PDC_return_key_modifiers(bool flag) int wgetch(WINDOW *win) { -#ifndef PDC_WIDE +#if !defined(PDC_WIDE) || defined(PDC_DISABLE_MULTIBYTE) return( _raw_wgetch( win)); #else static unsigned char buffered[8];