[Python-checkins] cpython: Closes #22579: Fix posixmodule.c to support any C compiler on Windows

victor.stinner python-checkins at python.org
Fri Oct 10 00:12:33 CEST 2014


https://hg.python.org/cpython/rev/c7adad17f663
changeset:   92900:c7adad17f663
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Oct 10 00:09:47 2014 +0200
summary:
  Closes #22579: Fix posixmodule.c to support any C compiler on Windows

files:
  Modules/posixmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -17479,7 +17479,7 @@
 }
 
 
-#if (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__)) && !defined(__QNX__)
+#ifdef MS_WINDOWS
 #define INITFUNC PyInit_nt
 #define MODNAME "nt"
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list