[Numpy-svn] r6177 - branches/numpy-mingw-w64/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Sat Dec 20 11:32:20 CST 2008


Author: cdavid
Date: 2008-12-20 11:32:11 -0600 (Sat, 20 Dec 2008)
New Revision: 6177

Modified:
   branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
Log:
Add MS_WIN64 for every compile command.

Modified: branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py
===================================================================
--- branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-20 17:31:48 UTC (rev 6176)
+++ branches/numpy-mingw-w64/numpy/distutils/mingw32ccompiler.py	2008-12-20 17:32:11 UTC (rev 6177)
@@ -95,8 +95,8 @@
         #                                % (self.linker, entry_point))
         if get_build_architecture() == 'AMD64':
             self.set_executables(
-                    compiler='gcc -mno-cygwin -O0 -Wall',
-                    compiler_so='gcc -mno-cygwin -O0 -Wall -Wstrict-prototypes',
+                    compiler='gcc -DMS_WIN64 -mno-cygwin -O0 -Wall',
+                    compiler_so='gcc -DMS_WIN64 -mno-cygwin -O0 -Wall -Wstrict-prototypes',
                     linker_exe='gcc -mno-cygwin',
                     linker_so='gcc -mno-cygwin -shared')
         else:



More information about the Numpy-svn mailing list