summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-09 22:09:47 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-09 22:09:47 (GMT)
commitd42c4282b91375a108811aa92e9fe71f62c113b9 (patch)
tree9abadf5cbe527701277dc13aeb58a807c2b8b725 /Modules
parent532783bd5ed4a98d4820d2932411d38385afbf7e (diff)
downloadcpython-d42c4282b91375a108811aa92e9fe71f62c113b9.zip
cpython-d42c4282b91375a108811aa92e9fe71f62c113b9.tar.gz
cpython-d42c4282b91375a108811aa92e9fe71f62c113b9.tar.bz2
Closes #22579: Fix posixmodule.c to support any C compiler on Windows
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index c8d13d1..2489ccb 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -17479,7 +17479,7 @@ all_ins(PyObject *m)
}
-#if (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)) && !defined(__QNX__)
+#ifdef MS_WINDOWS
#define INITFUNC PyInit_nt
#define MODNAME "nt"