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

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


Author: pearu
Date: 2007-07-28 05:07:12 -0500 (Sat, 28 Jul 2007)
New Revision: 3912

Modified:
   trunk/numpy/core/src/umathmodule.c.src
Log:
Trying to fix inconsisted dll linkage warning, clean up.

Modified: trunk/numpy/core/src/umathmodule.c.src
===================================================================
--- trunk/numpy/core/src/umathmodule.c.src	2007-07-27 22:32:40 UTC (rev 3911)
+++ trunk/numpy/core/src/umathmodule.c.src	2007-07-28 10:07:12 UTC (rev 3912)
@@ -66,8 +66,13 @@
 #undef sqrtf
 #endif
 float log1pf(float);
+#if defined(_MSC_VER)
+float __cdecl logf(float);
+float __cdecl sqrtf(float);
+#else
 float logf(float);
 float sqrtf(float);
+#endif
 #ifdef acoshf
 #undef acoshf
 #endif



More information about the Numpy-svn mailing list