summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-29 18:12:36 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-29 18:12:36 (GMT)
commitace527cbc2109311caffe896445db2f8751906b8 (patch)
tree7e789103f6c9a76c7c0a53d5319ab4e378c4d91e /Include
parent57b1822459fdd8948c289f847c0fe69b41fd5007 (diff)
downloadcpython-ace527cbc2109311caffe896445db2f8751906b8.zip
cpython-ace527cbc2109311caffe896445db2f8751906b8.tar.gz
cpython-ace527cbc2109311caffe896445db2f8751906b8.tar.bz2
Change comments/#ifdef structure for declaration for hypot().
Diffstat (limited to 'Include')
-rw-r--r--Include/mymath.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Include/mymath.h b/Include/mymath.h
index c6c6e6b..c4dd689 100644
--- a/Include/mymath.h
+++ b/Include/mymath.h
@@ -15,8 +15,6 @@
#pragma lib_export on
#endif
-#if defined(HAVE_HYPOT)
-/* Defined in <math.h> */
-#else
-extern double hypot Py_PROTO((double, double)); /* defined in mathmodule.c */
+#ifndef HAVE_HYPOT
+extern double hypot Py_PROTO((double, double));
#endif