Index: runtime/bin/platform_macos.cc |
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc |
index e21ff135ba189651eaa52a8b3f12c02a155fe2d6..2641ac1b9a97625dc8676c861f1f45537e8ac9b8 100644 |
--- a/runtime/bin/platform_macos.cc |
+++ b/runtime/bin/platform_macos.cc |
@@ -5,6 +5,8 @@ |
#include "platform/globals.h" |
#if defined(TARGET_OS_MACOS) |
+#include "bin/platform.h" |
+ |
#if !TARGET_OS_IOS |
#include <crt_externs.h> // NOLINT |
#endif // !TARGET_OS_IOS |
@@ -17,11 +19,15 @@ |
#include "bin/fdutils.h" |
#include "bin/file.h" |
-#include "bin/platform.h" |
namespace dart { |
namespace bin { |
+const char* Platform::executable_name_ = NULL; |
+char* Platform::resolved_executable_name_ = NULL; |
+int Platform::script_index_ = 1; |
+char** Platform::argv_ = NULL; |
+ |
bool Platform::Initialize() { |
// Turn off the signal handler for SIGPIPE as it causes the process |
// to terminate on writing to a closed pipe. Without the signal |