diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2009-10-17 03:31:36 +0200 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-11-22 11:23:01 -0800 |
commit | b88b64bd06d9c0945e53a99b6ea840f38358df99 (patch) | |
tree | 92e9cae29467dd2ec1867995cddb0bfb6e58ee92 /include/ieee754.h | |
parent | 1cb4ff739888814cfcb28f3f1fe1306f5ebca9d0 (diff) | |
download | uClibc-alpine-b88b64bd06d9c0945e53a99b6ea840f38358df99.tar.bz2 uClibc-alpine-b88b64bd06d9c0945e53a99b6ea840f38358df99.tar.xz |
use __BYTE_ORDER and __*ENDIAN
Those without the __ prefix are BSD specific.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'include/ieee754.h')
-rw-r--r-- | include/ieee754.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ieee754.h b/include/ieee754.h index 7131e5de6..b17c29ab7 100644 --- a/include/ieee754.h +++ b/include/ieee754.h @@ -80,7 +80,7 @@ union ieee754_double unsigned int mantissa1:32; #endif /* Big endian. */ #if __BYTE_ORDER == __LITTLE_ENDIAN -# if __FLOAT_WORD_ORDER == BIG_ENDIAN +# if __FLOAT_WORD_ORDER == __BIG_ENDIAN unsigned int mantissa0:20; unsigned int exponent:11; unsigned int negative:1; @@ -106,7 +106,7 @@ union ieee754_double unsigned int mantissa0:19; unsigned int mantissa1:32; #else -# if __FLOAT_WORD_ORDER == BIG_ENDIAN +# if __FLOAT_WORD_ORDER == __BIG_ENDIAN unsigned int mantissa0:19; unsigned int quiet_nan:1; unsigned int exponent:11; @@ -142,7 +142,7 @@ union ieee854_long_double unsigned int mantissa1:32; #endif #if __BYTE_ORDER == __LITTLE_ENDIAN -# if __FLOAT_WORD_ORDER == BIG_ENDIAN +# if __FLOAT_WORD_ORDER == __BIG_ENDIAN unsigned int exponent:15; unsigned int negative:1; unsigned int empty:16; @@ -171,7 +171,7 @@ union ieee854_long_double unsigned int mantissa1:32; #endif #if __BYTE_ORDER == __LITTLE_ENDIAN -# if __FLOAT_WORD_ORDER == BIG_ENDIAN +# if __FLOAT_WORD_ORDER == __BIG_ENDIAN unsigned int exponent:15; unsigned int negative:1; unsigned int empty:16; |