Index: runtime/vm/snapshot.cc |
diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc |
index 5eddb352d215ad7181971cce4d986141d86fd26f..738461e77bc548cf9418a12c84c9bf54a016eaf5 100644 |
--- a/runtime/vm/snapshot.cc |
+++ b/runtime/vm/snapshot.cc |
@@ -872,9 +872,9 @@ void AssemblyImageWriter::WriteText(WriteStream* clustered_stream, bool vm) { |
} |
-#if defined(TARGET_OS_LINUX) |
+#if defined(HOST_OS_LINUX) |
assembly_stream_.Print(".section .rodata\n"); |
-#elif defined(TARGET_OS_MACOS) |
+#elif defined(HOST_OS_MACOS) |
assembly_stream_.Print(".const\n"); |
#else |
// Unsupported platform. |