diff options
Diffstat (limited to 'libm/fp_private.h')
-rw-r--r-- | libm/fp_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libm/fp_private.h b/libm/fp_private.h index 505400e33..0ddb616c4 100644 --- a/libm/fp_private.h +++ b/libm/fp_private.h @@ -70,10 +70,11 @@ *******************************************************************************/ #include <stdint.h> +#include <endian.h> typedef struct /* Hex representation of a double. */ { -#if defined(__BIG_ENDIAN__) +#if (__BYTE_ORDER == __BIG_ENDIAN) uint32_t high; uint32_t low; #else |