diff options
Diffstat (limited to 'deps/v8/src/utils.cc')
-rw-r--r-- | deps/v8/src/utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/utils.cc b/deps/v8/src/utils.cc index 40c8b404fd..c6fe55b5c6 100644 --- a/deps/v8/src/utils.cc +++ b/deps/v8/src/utils.cc @@ -408,9 +408,9 @@ void init_memcopy_functions() { bool DoubleToBoolean(double d) { // NaN, +0, and -0 should return the false object -#if __BYTE_ORDER == __LITTLE_ENDIAN +#if V8_TARGET_LITTLE_ENDIAN union IeeeDoubleLittleEndianArchType u; -#elif __BYTE_ORDER == __BIG_ENDIAN +#else union IeeeDoubleBigEndianArchType u; #endif u.d = d; |