From 6180abdb9dfdb541014932a732916a47a8bab8a5 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 2 Jan 2002 00:36:11 +0100 Subject: [PATCH] ieeefp.h: Define __IEEE_BIG_ENDIAN for Darwin. 2001-12-29 Andreas Tobler * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for Darwin. From-SVN: r48455 --- libjava/ChangeLog | 5 +++++ libjava/java/lang/ieeefp.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 85b74ce7070..8b1211006a6 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2001-12-29 Andreas Tobler + + * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for + Darwin. + 2001-12-21 Tom Tromey * java/io/ObjectInputStream.java (enableResolveObject): Use diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h index de1f7c6b8f7..6dba4ac4368 100644 --- a/libjava/java/lang/ieeefp.h +++ b/libjava/java/lang/ieeefp.h @@ -96,6 +96,10 @@ #define __IEEE_LITTLE_ENDIAN #endif +#ifdef __APPLE__ +#define __IEEE_BIG_ENDIAN +#endif + #ifdef __PPC__ #if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) #define __IEEE_BIG_ENDIAN