Add check for C99 round function to configure, and define

a fallback function if round doesn't exist.
This commit is contained in:
Mark Dickinson 2009-04-18 13:58:18 +00:00
parent f498113f3f
commit f253786a80
5 changed files with 24 additions and 3 deletions

View file

@ -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