diff options
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/fdlibm.h | 4 | ||||
-rw-r--r-- | libjava/java/lang/mprec.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libjava/java/lang/fdlibm.h b/libjava/java/lang/fdlibm.h index b98120d..fbfbb66 100644 --- a/libjava/java/lang/fdlibm.h +++ b/libjava/java/lang/fdlibm.h @@ -11,6 +11,10 @@ * ==================================================== */ +/* AIX needs _XOPEN_SOURCE */ +#ifdef _AIX +#define _XOPEN_SOURCE +#endif #include <config.h> #include <stdlib.h> diff --git a/libjava/java/lang/mprec.h b/libjava/java/lang/mprec.h index 1e387d6..26472a2 100644 --- a/libjava/java/lang/mprec.h +++ b/libjava/java/lang/mprec.h @@ -29,10 +29,6 @@ #include <config.h> #include "ieeefp.h" -// #include <math.h> -// #include <float.h> -// #include <errno.h> - #if defined HAVE_STDINT_H #include <stdint.h> #elif defined HAVE_INTTYPES_H @@ -58,7 +54,7 @@ typedef u_int32_t uint32_t; #endif #if !defined HAVE_BSD_INT32_DEFINED && !defined HAVE_INT32_DEFINED -// FIXME -- this could have problems with systems that don't define SI to be 4 +/* FIXME this could have problems with systems that don't define SI to be 4 */ typedef int int32_t __attribute__((mode(SI))); /* This is a blatant hack: on Solaris 2.5, pthread.h defines uint32_t |