Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index c380103febc1b2a0a96453087147d7fcddc0adf9..a59866d426ce215a915b94767ce9ed0abdd31799 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -216,13 +216,13 @@ |
#if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && \ |
!V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS |
-# if V8_HOST_ARCH_X64 |
+# if defined(_M_X64) || defined(__x86_64__) |
# define V8_TARGET_ARCH_X64 1 |
-# elif V8_HOST_ARCH_IA32 |
+# elif defined(_M_IX86) || defined(__i386__) |
# define V8_TARGET_ARCH_IA32 1 |
-# elif V8_HOST_ARCH_ARM |
+# elif defined(__ARMEL__) |
# define V8_TARGET_ARCH_ARM 1 |
-# elif V8_HOST_ARCH_MIPS |
+# elif defined(__MIPSEL__) |
# define V8_TARGET_ARCH_MIPS 1 |
# else |
# error Target architecture was not detected as supported by v8 |