aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/lang/ieeefp.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 85b74ce..8b12110 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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>
* java/io/ObjectInputStream.java (enableResolveObject): Use
diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h
index de1f7c6..6dba4ac 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