diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-05-14 02:35:49 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-14 02:35:49 (GMT) |
commit | 71f574f707e8f1872c128838d7c20e492117e9ef (patch) | |
tree | ed5391365fa527807267989a86b13d2fffc9d9ed /PC/msvcrtmodule.c | |
parent | 812bc1b86ba0225d079ba4ced528836b35afbaca (diff) | |
download | cpython-71f574f707e8f1872c128838d7c20e492117e9ef.zip cpython-71f574f707e8f1872c128838d7c20e492117e9ef.tar.gz cpython-71f574f707e8f1872c128838d7c20e492117e9ef.tar.bz2 |
Issue #23995: Removes _WCONIO_DEFINED check as the wchar_t console functions are always available.
Diffstat (limited to 'PC/msvcrtmodule.c')
-rw-r--r-- | PC/msvcrtmodule.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/PC/msvcrtmodule.c b/PC/msvcrtmodule.c index 6f2eff6..52d4100 100644 --- a/PC/msvcrtmodule.c +++ b/PC/msvcrtmodule.c @@ -242,7 +242,6 @@ msvcrt_getch_impl(PyModuleDef *module) return ch; } -#ifdef _WCONIO_DEFINED /*[clinic input] msvcrt.getwch -> wchar_t @@ -260,7 +259,6 @@ msvcrt_getwch_impl(PyModuleDef *module) Py_END_ALLOW_THREADS return ch; } -#endif /* _WCONIO_DEFINED */ /*[clinic input] msvcrt.getche -> byte_char @@ -280,7 +278,6 @@ msvcrt_getche_impl(PyModuleDef *module) return ch; } -#ifdef _WCONIO_DEFINED /*[clinic input] msvcrt.getwche -> wchar_t @@ -298,7 +295,6 @@ msvcrt_getwche_impl(PyModuleDef *module) Py_END_ALLOW_THREADS return ch; } -#endif /* _WCONIO_DEFINED */ /*[clinic input] msvcrt.putch @@ -317,7 +313,6 @@ msvcrt_putch_impl(PyModuleDef *module, char char_value) Py_RETURN_NONE; } -#ifdef _WCONIO_DEFINED /*[clinic input] msvcrt.putwch @@ -335,7 +330,6 @@ msvcrt_putwch_impl(PyModuleDef *module, int unicode_char) Py_RETURN_NONE; } -#endif /* _WCONIO_DEFINED */ /*[clinic input] msvcrt.ungetch @@ -359,7 +353,6 @@ msvcrt_ungetch_impl(PyModuleDef *module, char char_value) Py_RETURN_NONE; } -#ifdef _WCONIO_DEFINED /*[clinic input] msvcrt.ungetwch @@ -377,7 +370,6 @@ msvcrt_ungetwch_impl(PyModuleDef *module, int unicode_char) return PyErr_SetFromErrno(PyExc_IOError); Py_RETURN_NONE; } -#endif /* _WCONIO_DEFINED */ #ifdef _DEBUG /*[clinic input] |