diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 02:46:20 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 02:46:20 +0000 |
commit | 1c7c8d902f3674f81f848057cab06264288cbfe7 (patch) | |
tree | 9583322c80f94b80f1e8a62127be8d9af1ed33c9 /libm/powerpc/s_logb.c | |
parent | 6e538396c7c8fa82f1134a7acf4b2b20078749f7 (diff) | |
download | uClibc-alpine-1c7c8d902f3674f81f848057cab06264288cbfe7.tar.bz2 uClibc-alpine-1c7c8d902f3674f81f848057cab06264288cbfe7.tar.xz |
Merge from trunk.
Diffstat (limited to 'libm/powerpc/s_logb.c')
-rw-r--r-- | libm/powerpc/s_logb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libm/powerpc/s_logb.c b/libm/powerpc/s_logb.c index 23c7270f9..3caecd95f 100644 --- a/libm/powerpc/s_logb.c +++ b/libm/powerpc/s_logb.c @@ -32,10 +32,12 @@ * Standard 754. * *******************************************************************************/ +#include <endian.h> + typedef union { struct { -#if defined(__BIG_ENDIAN__) +#if (__BYTE_ORDER == __BIG_ENDIAN) unsigned long int hi; unsigned long int lo; #else |