summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/xdr_float.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index faa30329bd..ca9f10cab3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-10-10 Philip Blundell <philb@gnu.org>
+
+ * sunrpc/xdr_float.c (LSW): Depend on __FLOAT_WORD_ORDER not
+ __BYTE_ORDER.
+
1999-10-11 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/powerpc/socket.S: Adjust asm syntax.
diff --git a/sunrpc/xdr_float.c b/sunrpc/xdr_float.c
index 2e1e37f0a2..0a7d9707d5 100644
--- a/sunrpc/xdr_float.c
+++ b/sunrpc/xdr_float.c
@@ -52,7 +52,7 @@ static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
* This routine works on Suns (Sky / 68000's) and Vaxen.
*/
-#define LSW (__BYTE_ORDER == __BIG_ENDIAN)
+#define LSW (__FLOAT_WORD_ORDER == __BIG_ENDIAN)
#ifdef vax