diff options
-rw-r--r-- | Objects/unicodeobject.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 8c1db7e..9c35e2d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -1483,7 +1483,9 @@ PyObject *PyUnicode_AsASCIIString(PyObject *unicode) } #ifdef MS_WIN32 + /* --- MBCS codecs for Windows -------------------------------------------- */ + PyObject *PyUnicode_DecodeMBCS(const char *s, int size, const char *errors) @@ -1536,6 +1538,7 @@ PyObject *PyUnicode_EncodeMBCS(const Py_UNICODE *p, } return repr; } + #endif /* MS_WIN32 */ /* --- Character Mapping Codec -------------------------------------------- */ |