fdlibm.h: Merge an AIX define from GNU Classpath.
authorAndreas Tobler <a.tobler@schweiz.ch>
Wed, 9 Mar 2005 20:57:25 +0000 (21:57 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 9 Mar 2005 20:57:25 +0000 (21:57 +0100)
2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>

* java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.

* java/lang/mprec.h: Remove commented headers. Fix comment to match
the file in GNU Classpath style.

From-SVN: r96207

libjava/ChangeLog
libjava/java/lang/fdlibm.h
libjava/java/lang/mprec.h

index 9d34f47adea080b3e808c132c5af0f7ae92d0d51..aaf6e314f1c0a39e86ed624950b5c835a71063ba 100644 (file)
@@ -1,3 +1,10 @@
+2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
+
+       * java/lang/mprec.h: Remove commented headers. Fix comment to match
+       the file in GNU Classpath style.
+
 2005-03-09  Tom Tromey  <tromey@redhat.com>
 
        * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
@@ -7,7 +14,7 @@
 
        * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
        * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
-       
+
 2005-03-07  Tom Tromey  <tromey@redhat.com>
 
        * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
index b98120dafb91b3b5e185f09c94c4c0a45c2ef91f..fbfbb660bfd0d65d10939f7210113615549c8b4b 100644 (file)
  * ====================================================
  */
 
+/* AIX needs _XOPEN_SOURCE */
+#ifdef _AIX
+#define _XOPEN_SOURCE
+#endif
 
 #include <config.h>
 #include <stdlib.h>
index 1e387d6c34fe5e3a28fc757178053bc0fc97c6b8..26472a2278bba3331b70ae47f1dd5c86dfe1c0f1 100644 (file)
 #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