diff options
Diffstat (limited to 'libjava/classpath/native/fdlibm/fdlibm.h')
-rw-r--r-- | libjava/classpath/native/fdlibm/fdlibm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/classpath/native/fdlibm/fdlibm.h b/libjava/classpath/native/fdlibm/fdlibm.h index 156a03c1e45..13ee449d78e 100644 --- a/libjava/classpath/native/fdlibm/fdlibm.h +++ b/libjava/classpath/native/fdlibm/fdlibm.h @@ -24,6 +24,8 @@ /* GCJ LOCAL: Include files. */ #include "ieeefp.h" +/* CLASSPATH LOCAL: */ +#include "namespace.h" #include "mprec.h" @@ -93,7 +95,11 @@ extern double erf __P((double)); extern double erfc __P((double)); extern double gamma __P((double)); extern double hypot __P((double, double)); -extern int isnan __P((double)); + +#if !defined(isnan) && !defined(HAVE_ISNAN) +#define isnan(x) ((x) != (x)) +#endif + extern int finite __P((double)); extern double j0 __P((double)); extern double j1 __P((double)); |