projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c71446f
)
If __FLOAT_WORD_ORDER wasn't defined by <bits/endian.h>, make it the
author
drepper
<drepper>
Fri, 27 Nov 1998 11:34:04 +0000
(11:34 +0000)
committer
drepper
<drepper>
Fri, 27 Nov 1998 11:34:04 +0000
(11:34 +0000)
same as __BYTE_ORDER.
string/endian.h
patch
|
blob
|
history
diff --git
a/string/endian.h
b/string/endian.h
index
03e802f
..
109678a
100644
(file)
--- a/
string/endian.h
+++ b/
string/endian.h
@@
-34,6
+34,12
@@
/* This file defines `__BYTE_ORDER' for the particular machine. */
#include <bits/endian.h>
/* This file defines `__BYTE_ORDER' for the particular machine. */
#include <bits/endian.h>
+/* Some machines may need to use a different endianness for floating point
+ values. */
+#ifndef __FLOAT_WORD_ORDER
+# define __FLOAT_WORD_ORDER __BYTE_ORDER
+#endif
+
#ifdef __USE_BSD
# define LITTLE_ENDIAN __LITTLE_ENDIAN
# define BIG_ENDIAN __BIG_ENDIAN
#ifdef __USE_BSD
# define LITTLE_ENDIAN __LITTLE_ENDIAN
# define BIG_ENDIAN __BIG_ENDIAN