summaryrefslogtreecommitdiffstats
path: root/Python/hypot.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/hypot.c')
-rw-r--r--Python/hypot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/hypot.c b/Python/hypot.c
index 9d3c0d0..a18ce16 100644
--- a/Python/hypot.c
+++ b/Python/hypot.c
@@ -2,6 +2,7 @@
#include "Python.h"
+#ifndef HAVE_HYPOT
double hypot(double x, double y)
{
double yx;
@@ -20,3 +21,5 @@ double hypot(double x, double y)
return x*sqrt(1.+yx*yx);
}
}
+#endif /* HAVE_HYPOT */
+