fdlibm.h: Merge an AIX define from GNU Classpath.

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
This commit is contained in:
Andreas Tobler 2005-03-09 21:57:25 +01:00 committed by Andreas Tobler
parent d86dc3036d
commit 9b868aff56
3 changed files with 13 additions and 6 deletions

View file

@ -11,6 +11,10 @@
* ====================================================
*/
/* AIX needs _XOPEN_SOURCE */
#ifdef _AIX
#define _XOPEN_SOURCE
#endif
#include <config.h>
#include <stdlib.h>

View file

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