Index: runtime/vm/cpuid.cc |
diff --git a/runtime/vm/cpuid.cc b/runtime/vm/cpuid.cc |
index 576687ec0165d4a11f9353438f320d59648a74e5..4800c5be72d049be6ccbecd7f3faa697d063b21b 100644 |
--- a/runtime/vm/cpuid.cc |
+++ b/runtime/vm/cpuid.cc |
@@ -3,12 +3,12 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "vm/globals.h" |
-#if !defined(TARGET_OS_MACOS) |
+#if !defined(HOST_OS_MACOS) |
#include "vm/cpuid.h" |
#if defined(HOST_ARCH_IA32) || defined(HOST_ARCH_X64) |
// GetCpuId() on Windows, __get_cpuid() on Linux |
-#if defined(TARGET_OS_WINDOWS) |
+#if defined(HOST_OS_WINDOWS) |
#include <intrin.h> // NOLINT |
#else |
#include <cpuid.h> // NOLINT |
@@ -25,7 +25,7 @@ const char* CpuId::brand_string_ = NULL; |
#if defined(HOST_ARCH_IA32) || defined(HOST_ARCH_X64) |
void CpuId::GetCpuId(int32_t level, uint32_t info[4]) { |
-#if defined(TARGET_OS_WINDOWS) |
+#if defined(HOST_OS_WINDOWS) |
// The documentation for __cpuid is at: |
// http://msdn.microsoft.com/en-us/library/hskdteyh(v=vs.90).aspx |
__cpuid(reinterpret_cast<int*>(info), level); |
@@ -114,4 +114,4 @@ const char* CpuId::field(CpuInfoIndices idx) { |
#endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64) |
} // namespace dart |
-#endif // !defined(TARGET_OS_MACOS) |
+#endif // !defined(HOST_OS_MACOS) |