summaryrefslogtreecommitdiffstats
path: root/Include/mymath.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-30 16:55:08 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-30 16:55:08 (GMT)
commit9de624d784b20840160e4083ca4ec3e7095ccbb7 (patch)
tree520d587f0999813c2f921b67f3e61c3a609e9ec6 /Include/mymath.h
parentd3c1bd3931e99722a317a7cd66a062cfe8b1e40b (diff)
downloadcpython-9de624d784b20840160e4083ca4ec3e7095ccbb7.zip
cpython-9de624d784b20840160e4083ca4ec3e7095ccbb7.tar.gz
cpython-9de624d784b20840160e4083ca4ec3e7095ccbb7.tar.bz2
Added extern defn of hypot().
Diffstat (limited to 'Include/mymath.h')
-rw-r--r--Include/mymath.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/mymath.h b/Include/mymath.h
index 36ee1eb..13d32a6 100644
--- a/Include/mymath.h
+++ b/Include/mymath.h
@@ -14,3 +14,9 @@
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif
+
+#if defined(HAVE_HYPOT)
+/* Defined in <math.h> */
+#else
+extern double hypot PROTO((double, double)); /* defined in mathmodule.c */
+#endif