commit | f253786a807967c2a7f289fa294b66d5dffadcdd | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 18 13:58:18 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 18 13:58:18 2009 +0000 |
tree | b5583470a84088050578da953c1ff16946b9ad5e | |
parent | f498113f3f8585f5e7c5f4cedca0108c41628c75 [diff] |
Add check for C99 round function to configure, and define a fallback function if round doesn't exist.
diff --git a/Include/pymath.h b/Include/pymath.h index 8872e8a..816691a 100644 --- a/Include/pymath.h +++ b/Include/pymath.h
@@ -22,6 +22,10 @@ extern double copysign(double, double); #endif +#ifndef HAVE_ROUND +extern double round(double); +#endif + #ifndef HAVE_ACOSH extern double acosh(double); #endif