From: Victor Stinner Date: Thu, 9 Oct 2014 22:09:47 +0000 (+0200) Subject: Closes #22579: Fix posixmodule.c to support any C compiler on Windows X-Git-Tag: v3.5.0a1~722 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d42c4282b91375a108811aa92e9fe71f62c113b9;p=python Closes #22579: Fix posixmodule.c to support any C compiler on Windows --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index c8d13d11a3..2489ccb1e4 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"