[Numpy-svn] r5856 - branches/clean_math_config/numpy/distutils/command
numpy-svn at scipy.org
numpy-svn at scipy.org
Sun Sep 21 07:39:35 EDT 2008
Author: cdavid
Date: 2008-09-21 06:39:27 -0500 (Sun, 21 Sep 2008)
New Revision: 5856
Modified:
branches/clean_math_config/numpy/distutils/command/config.py
Log:
Handle msvc intrisincs in check_funcs_once.
Modified: branches/clean_math_config/numpy/distutils/command/config.py
===================================================================
--- branches/clean_math_config/numpy/distutils/command/config.py 2008-09-21 11:39:08 UTC (rev 5855)
+++ branches/clean_math_config/numpy/distutils/command/config.py 2008-09-21 11:39:27 UTC (rev 5856)
@@ -181,6 +181,12 @@
if v:
body.append("int %s ();" % f)
+ # 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("#endif")
+
body.append("int main (void) {")
if call:
for f in funcs:
More information about the Numpy-svn
mailing list