summaryrefslogtreecommitdiffstats
path: root/Include/pystrcmp.h
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-09-22 14:23:45 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-09-22 14:23:45 (GMT)
commit41c56b5ea1f2bdf294067506f4b1b91a8885d874 (patch)
tree63ed56bf3a5de2d10f3425a3c517b69d1a46e90c /Include/pystrcmp.h
parentf8db82242b2620bcf56d7329e38107093dd053e0 (diff)
downloadcpython-41c56b5ea1f2bdf294067506f4b1b91a8885d874.zip
cpython-41c56b5ea1f2bdf294067506f4b1b91a8885d874.tar.gz
cpython-41c56b5ea1f2bdf294067506f4b1b91a8885d874.tar.bz2
build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Part of source_os2emx.patch in issue 3868: Include/pystrcmp.h: OS/2 has same C APIs as Windows Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test Reviewed by Amaury Forgeot d'Arc
Diffstat (limited to 'Include/pystrcmp.h')
-rw-r--r--Include/pystrcmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pystrcmp.h b/Include/pystrcmp.h
index edb1239..369c7e7 100644
--- a/Include/pystrcmp.h
+++ b/Include/pystrcmp.h
@@ -8,7 +8,7 @@ extern "C" {
PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);
-#ifdef MS_WINDOWS
+#if defined(MS_WINDOWS) || defined(PYOS_OS2)
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else