| Index: src/utils.cc
|
| diff --git a/src/utils.cc b/src/utils.cc
|
| index aca9a9956e94ff8c7cc23a80fd0207220bb3d5ea..f8ff01d944f1d0620e41d998af6906aff22d8305 100644
|
| --- a/src/utils.cc
|
| +++ b/src/utils.cc
|
| @@ -396,9 +396,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;
|
|
|