mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Add check for C99 round function to configure, and define
a fallback function if round doesn't exist.
This commit is contained in:
parent
f498113f3f
commit
f253786a80
5 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue