Index: runtime/vm/simulator_mips.cc |
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc |
index 684d81daec9b84174bdf707ef793b115ef4835a4..cd20f686ef0ccc6dd4f046d93c3a43f91171a47b 100644 |
--- a/runtime/vm/simulator_mips.cc |
+++ b/runtime/vm/simulator_mips.cc |
@@ -9,7 +9,7 @@ |
#if defined(TARGET_ARCH_MIPS) |
// Only build the simulator if not compiling for real MIPS hardware. |
-#if !defined(HOST_ARCH_MIPS) |
+#if defined(USING_SIMULATOR) |
#include "vm/simulator.h" |
@@ -2487,6 +2487,6 @@ void Simulator::Longjmp(uword pc, |
} // namespace dart |
-#endif // !defined(HOST_ARCH_MIPS) |
+#endif // defined(USING_SIMULATOR) |
#endif // defined TARGET_ARCH_MIPS |