diff options
Diffstat (limited to 'libm/powerpc/s_ldexp.c')
-rw-r--r-- | libm/powerpc/s_ldexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libm/powerpc/s_ldexp.c b/libm/powerpc/s_ldexp.c index ce9ec8b1b..7e52352ae 100644 --- a/libm/powerpc/s_ldexp.c +++ b/libm/powerpc/s_ldexp.c @@ -21,11 +21,12 @@ #include <limits.h> #include <math.h> +#include <endian.h> typedef union { struct { -#if defined(__BIG_ENDIAN__) +#if (__BYTE_ORDER == __BIG_ENDIAN) unsigned long int hi; unsigned long int lo; #else |