diff options
Diffstat (limited to 'libm/powerpc/s_ceil.c')
-rw-r--r-- | libm/powerpc/s_ceil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libm/powerpc/s_ceil.c b/libm/powerpc/s_ceil.c index fd073de7b..f6680eedf 100644 --- a/libm/powerpc/s_ceil.c +++ b/libm/powerpc/s_ceil.c @@ -21,13 +21,15 @@ * * *******************************************************************************/ +#include <endian.h> + static const double twoTo52 = 4503599627370496.0; static const unsigned long signMask = 0x80000000ul; typedef union { struct { -#if defined(__BIG_ENDIAN__) +#if (__BYTE_ORDER == __BIG_ENDIAN) unsigned long int hi; unsigned long int lo; #else |