aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog3
-rw-r--r--libjava/java/lang/ieeefp.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 269f7e3..777ec8e 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,8 @@
1999-06-21 Tom Tromey <tromey@cygnus.com>
+ * java/lang/ieeefp.h (__IEEE_LITTLE_ENDIAN): Define for alpha.
+ From Jeff Sturm.
+
* Makefile.in: Rebuilt.
* Makefile.am (toolexeclibdir): Define as libdir when
appropriate.
diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h
index 931bafb..1f0951f 100644
--- a/libjava/java/lang/ieeefp.h
+++ b/libjava/java/lang/ieeefp.h
@@ -1,6 +1,10 @@
#ifndef __IEEE_BIG_ENDIAN
#ifndef __IEEE_LITTLE_ENDIAN
+#ifdef __alpha__
+#define __IEEE_LITTLE_ENDIAN
+#endif
+
#ifdef __arm__
/* ARM always has big-endian words. Within those words the byte ordering
appears to be big or little endian. Newlib doesn't seem to care about