ieeefp.h: Define __IEEE_BIG_ENDIAN for Darwin.

2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>

	* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
	Darwin.

From-SVN: r48455
This commit is contained in:
Andreas Tobler 2002-01-02 00:36:11 +01:00 committed by Tom Tromey
parent 29f7a20865
commit 6180abdb9d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>
* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
Darwin.
2001-12-21 Tom Tromey <tromey@redhat.com> 2001-12-21 Tom Tromey <tromey@redhat.com>
* java/io/ObjectInputStream.java (enableResolveObject): Use * java/io/ObjectInputStream.java (enableResolveObject): Use

View File

@ -96,6 +96,10 @@
#define __IEEE_LITTLE_ENDIAN #define __IEEE_LITTLE_ENDIAN
#endif #endif
#ifdef __APPLE__
#define __IEEE_BIG_ENDIAN
#endif
#ifdef __PPC__ #ifdef __PPC__
#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) #if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX)
#define __IEEE_BIG_ENDIAN #define __IEEE_BIG_ENDIAN