Index: runtime/bin/vmservice_impl.cc |
diff --git a/runtime/bin/vmservice_impl.cc b/runtime/bin/vmservice_impl.cc |
index 6a5cfccf7d16d8174165df0e41646308f34f50be..82968c3ae45ff5c33abeddf3e15eddbc3e57d3b0 100644 |
--- a/runtime/bin/vmservice_impl.cc |
+++ b/runtime/bin/vmservice_impl.cc |
@@ -41,7 +41,11 @@ struct ResourcesEntry { |
int length_; |
}; |
+#if defined(DART_PRECOMPILED_RUNTIME) |
+ResourcesEntry __service_bin_resources_[] = {{NULL, NULL, 0}}; |
+#else |
extern ResourcesEntry __service_bin_resources_[]; |
+#endif |
class Resources { |
public: |