| Index: src/utils.cc
|
| diff --git a/src/utils.cc b/src/utils.cc
|
| index 40c8b404fdfd57ebb7ce3a7db98a814705aa5994..c6fe55b5c65d309c190ff3bd3568247c5dc7774f 100644
|
| --- a/src/utils.cc
|
| +++ b/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;
|
|
|