Mods for HP-UX port.

This commit is contained in:
Robert Osfield
2002-07-23 15:01:51 +00:00
parent 2268246fa9
commit 6d690740a6
3 changed files with 13 additions and 28 deletions

View File

@@ -7,7 +7,7 @@
#include <math.h>
#if defined(WIN32) || defined (macintosh)|| defined (sun) || defined (__DARWIN_OSX__) || defined(__hpux__)
#if defined(WIN32) || defined (macintosh)|| defined (sun) || defined (__DARWIN_OSX__)
#include <float.h>
@@ -36,9 +36,6 @@
#define logf (float)log
#endif
#ifndef floorf
#define floorf (float)floor
#endif
#ifndef powf
#define powf (float)pow
@@ -55,6 +52,14 @@
#ifndef isnanf
#define isnanf (float)isnan
#endif
#endif
#if defined(WIN32) || defined (macintosh)|| defined (sun) || defined (__DARWIN_OSX__) || defined (__hpux__)
#ifndef floorf
#define floorf (float)floor
#endif
#endif