summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-30 15:26:10 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-06-30 15:26:10 (GMT)
commit6238d2b024f061159b2613387ff700695c10deef (patch)
tree2c882431a5f1a348c7b4589f0e51a7e0d8bdef46 /Objects/unicodeobject.c
parentadfa7409f8286bd9581d5decfac5a5edcc1aa7de (diff)
downloadcpython-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 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index ae27b7f..1b45ef7 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -41,7 +41,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "unicodeobject.h"
#include "ucnhash.h"
-#ifdef MS_WIN32
+#ifdef MS_WINDOWS
#include <windows.h>
#endif
@@ -2243,7 +2243,7 @@ PyObject *PyUnicode_AsASCIIString(PyObject *unicode)
NULL);
}
-#if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
+#if defined(MS_WINDOWS) && defined(HAVE_USABLE_WCHAR_T)
/* --- MBCS codecs for Windows -------------------------------------------- */
@@ -2305,7 +2305,7 @@ PyObject *PyUnicode_EncodeMBCS(const Py_UNICODE *p,
return repr;
}
-#endif /* MS_WIN32 */
+#endif /* MS_WINDOWS */
/* --- Character Mapping Codec -------------------------------------------- */