summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-07-28 19:44:07 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-07-28 19:44:07 +0000
commitcde89143c3818f245d2f8ca7b5ba4af4592e337b (patch)
tree6e3cca12756d2f74b421f7122193d37e9f210207
parent1fc87e847b42f3f887e85972d16b576575033ad1 (diff)
downloadnumpy-cde89143c3818f245d2f8ca7b5ba4af4592e337b.tar.gz
Trying to fix unknown symbol __imp_tanhf linking error, using nc_tanhf.
-rw-r--r--numpy/core/src/umathmodule.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src
index 6780bb7e1..5611a6937 100644
--- a/numpy/core/src/umathmodule.c.src
+++ b/numpy/core/src/umathmodule.c.src
@@ -60,7 +60,7 @@ static float ldexpf(float x, int i)
return (float)ldexp((double)(x), i);
}
#endif
-DL_IMPORT(float) tanhf(float);
+#define tanhf nc_tanhf
#endif
#ifndef HAVE_INVERSE_HYPERBOLIC