Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: runtime/bin/process_win.cc

Issue 1839463002: Really remove io support when dart:io is unsupported. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/process_win.cc
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
index 9777c5526c56d6b57f25d287a90479447852fabd..b96e67bf2943fa163fcc4b1b40d77be33fbdb9d4 100644
--- a/runtime/bin/process_win.cc
+++ b/runtime/bin/process_win.cc
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+#if !defined(DART_IO_DISABLED)
+
#include "platform/globals.h"
#if defined(TARGET_OS_WINDOWS)
@@ -25,6 +27,8 @@ namespace bin {
static const int kReadHandle = 0;
static const int kWriteHandle = 1;
+int Process::global_exit_code_ = 0;
+Mutex* Process::global_exit_code_mutex_ = new Mutex();
// ProcessInfo is used to map a process id to the process handle,
// wait handle for registered exit code event and the pipe used to
@@ -1082,3 +1086,5 @@ void Process::ClearSignalHandler(intptr_t signal) {
} // namespace dart
#endif // defined(TARGET_OS_WINDOWS)
+
+#endif // !defined(DART_IO_DISABLED)

Powered by Google App Engine
This is Rietveld 408576698