[Numpy-svn] r3924 - trunk/numpy/core/src

numpy-svn@scip... numpy-svn@scip...
Sat Jul 28 07:19:07 CDT 2007


Author: pearu
Date: 2007-07-28 07:19:04 -0500 (Sat, 28 Jul 2007)
New Revision: 3924

Modified:
   trunk/numpy/core/src/umathmodule.c.src
Log:
Using DLL_IMPORT only when DISTUTILS_USE_SDK.

Modified: trunk/numpy/core/src/umathmodule.c.src
===================================================================
--- trunk/numpy/core/src/umathmodule.c.src	2007-07-28 12:16:34 UTC (rev 3923)
+++ trunk/numpy/core/src/umathmodule.c.src	2007-07-28 12:19:04 UTC (rev 3924)
@@ -92,8 +92,14 @@
 #undef sqrtf
 #endif
 float log1pf(float);
+#if defined(DISTUTILS_USE_SDK)
 DL_IMPORT(float) logf(float);
 DL_IMPORT(float) sqrtf(float);
+#else
+/* should these be extern?: */
+float logf(float);
+float sqrtf(float);
+#endif
 #ifdef acoshf
 #undef acoshf
 #endif



More information about the Numpy-svn mailing list