summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-18 14:41:37 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-18 14:41:37 (GMT)
commit8e5446f902c58a48796c1f0e25a263b7268afe34 (patch)
tree1f117ab0286a1a2a6f24ff997ca64b67ac1ae194 /Include
parent4beb89b9f7a40703136d0ddac7aecd71d59d17bc (diff)
downloadcpython-8e5446f902c58a48796c1f0e25a263b7268afe34.zip
cpython-8e5446f902c58a48796c1f0e25a263b7268afe34.tar.gz
cpython-8e5446f902c58a48796c1f0e25a263b7268afe34.tar.bz2
Backport r71704 (add configure check for C99 round function) to trunk.
Diffstat (limited to 'Include')
-rw-r--r--Include/pymath.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pymath.h b/Include/pymath.h
index 6ad174d..2cb2a23 100644
--- a/Include/pymath.h
+++ b/Include/pymath.h
@@ -22,6 +22,10 @@ functions and constants
extern double copysign(double, double);
#endif
+#ifndef HAVE_ROUND
+extern double round(double);
+#endif
+
#ifndef HAVE_ACOSH
extern double acosh(double);
#endif