diff --git a/examples/common.cpp b/examples/common.cpp index 1308f8410..244fb67d6 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -578,7 +578,7 @@ void console_set_color(console_state & con_st, console_color_t color) { } char32_t getchar32() { -#if defined(_WIN32) +/*#if defined(_WIN32) HANDLE hConsole = GetStdHandle(STD_INPUT_HANDLE); wchar_t high_surrogate = 0; @@ -608,7 +608,7 @@ char32_t getchar32() { return static_cast(wc); } } -#else +#else*/ wchar_t wc = getwchar(); if (static_cast(wc) == WEOF) { return WEOF; @@ -627,7 +627,7 @@ char32_t getchar32() { #endif return static_cast(wc); -#endif +//#endif } void pop_cursor(console_state & con_st) {