]> granicus.if.org Git - python/commitdiff
Closes #22579: Fix posixmodule.c to support any C compiler on Windows
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 9 Oct 2014 22:09:47 +0000 (00:09 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 9 Oct 2014 22:09:47 +0000 (00:09 +0200)
Modules/posixmodule.c

index c8d13d11a39c386bee72a17098eba7297c54dcb4..2489ccb1e4cd594cedee561fe49cb4d779a05370 100644 (file)
@@ -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"