diff options
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 |