Index: src/platform-posix.cc |
diff --git a/src/platform-posix.cc b/src/platform-posix.cc |
index f7ab8a124be3eaff1d9aa762da8a77d6f548874f..1244493593b4db44aa67ab9def68b1e433a88d07 100644 |
--- a/src/platform-posix.cc |
+++ b/src/platform-posix.cc |
@@ -79,11 +79,11 @@ static const pthread_t kNoThread = (pthread_t) 0; |
uint64_t OS::CpuFeaturesImpliedByPlatform() { |
-#if defined(__APPLE__) |
+#if V8_OS_MACOSX |
// Mac OS X requires all these to install so we can assume they are present. |
// These constants are defined by the CPUid instructions. |
const uint64_t one = 1; |
- return (one << SSE2) | (one << CMOV) | (one << CPUID); |
+ return (one << SSE2) | (one << CMOV); |
#else |
return 0; // Nothing special about the other systems. |
#endif |