diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-30 15:26:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-30 15:26:10 (GMT) |
commit | 6238d2b024f061159b2613387ff700695c10deef (patch) | |
tree | 2c882431a5f1a348c7b4589f0e51a7e0d8bdef46 /Modules/_codecsmodule.c | |
parent | adfa7409f8286bd9581d5decfac5a5edcc1aa7de (diff) | |
download | cpython-6238d2b024f061159b2613387ff700695c10deef.zip cpython-6238d2b024f061159b2613387ff700695c10deef.tar.gz cpython-6238d2b024f061159b2613387ff700695c10deef.tar.bz2 |
Patch #569753: Remove support for WIN16.
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
Diffstat (limited to 'Modules/_codecsmodule.c')
-rw-r--r-- | Modules/_codecsmodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 0c49f7f..aed3c42 100644 --- a/Modules/_codecsmodule.c +++ b/Modules/_codecsmodule.c @@ -316,7 +316,7 @@ charmap_decode(PyObject *self, size); } -#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T) +#if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T) static PyObject * mbcs_decode(PyObject *self, @@ -334,7 +334,7 @@ mbcs_decode(PyObject *self, size); } -#endif /* MS_WIN32 */ +#endif /* MS_WINDOWS */ /* --- Encoder ------------------------------------------------------------ */ @@ -636,7 +636,7 @@ charmap_encode(PyObject *self, return v; } -#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T) +#if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T) static PyObject * mbcs_encode(PyObject *self, @@ -661,7 +661,7 @@ mbcs_encode(PyObject *self, return v; } -#endif /* MS_WIN32 */ +#endif /* MS_WINDOWS */ #endif /* Py_USING_UNICODE */ /* --- Module API --------------------------------------------------------- */ @@ -695,7 +695,7 @@ static PyMethodDef _codecs_functions[] = { {"charmap_decode", charmap_decode, METH_VARARGS}, {"readbuffer_encode", readbuffer_encode, METH_VARARGS}, {"charbuffer_encode", charbuffer_encode, METH_VARARGS}, -#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T) +#if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T) {"mbcs_encode", mbcs_encode, METH_VARARGS}, {"mbcs_decode", mbcs_decode, METH_VARARGS}, #endif |