[Numpy-svn] r5857 - branches/clean_math_config/numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Sun Sep 21 06:50:40 CDT 2008


Author: cdavid
Date: 2008-09-21 06:50:32 -0500 (Sun, 21 Sep 2008)
New Revision: 5857

Modified:
   branches/clean_math_config/numpy/distutils/command/config.py
Log:
define -> pragma, stupid mistake.

Modified: branches/clean_math_config/numpy/distutils/command/config.py
===================================================================
--- branches/clean_math_config/numpy/distutils/command/config.py	2008-09-21 11:39:27 UTC (rev 5856)
+++ branches/clean_math_config/numpy/distutils/command/config.py	2008-09-21 11:50:32 UTC (rev 5857)
@@ -131,7 +131,7 @@
         # avoid build error because the intrisinc and our 'fake' test
         # declaration do not match.
         body.append("#ifdef _MSC_VER")
-        body.append("#define function(%s)" % func)
+        body.append("#pragma function(%s)" % func)
         body.append("#endif")
         body.append("int main (void) {")
         if call:
@@ -184,7 +184,7 @@
         # Handle MS intrinsics. See check_func for more info.
         body.append("#ifdef _MSC_VER")
         for func in funcs:
-            body.append("#define function(%s)" % func)
+            body.append("#pragma function(%s)" % func)
         body.append("#endif")
 
         body.append("int main (void) {")



More information about the Numpy-svn mailing list