diff --git a/deps/v8/include/v8config.h b/deps/v8/include/v8config.h index 714d8a6f057..6dfeb52b34b 100644 --- a/deps/v8/include/v8config.h +++ b/deps/v8/include/v8config.h @@ -674,6 +674,11 @@ V8 shared library set USING_V8_SHARED. #if __riscv_xlen == 64 #define V8_TARGET_ARCH_RISCV64 1 #endif +#elif defined(__s390__) +#define V8_TARGET_ARCH_S390 1 +#if defined(__s390x__) +#define V8_TARGET_ARCH_S390X 1 +#endif #else #error Target architecture was not detected as supported by v8 #endif @@ -770,7 +775,7 @@ V8 shared library set USING_V8_SHARED. #else #define V8_TARGET_LITTLE_ENDIAN 1 #endif -#elif __BIG_ENDIAN__ // FOR PPCGR on AIX +#elif defined(__BIG_ENDIAN__) // FOR PPCGR on AIX #define V8_TARGET_BIG_ENDIAN 1 #elif V8_TARGET_ARCH_PPC_LE #define V8_TARGET_LITTLE_ENDIAN 1