Index: runtime/bin/process_win.cc |
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc |
index edc81fb01793e4d579717b94237b62e5ddf1d3f1..02bea4bb5115d41303ff72718d5cbb21e2174993 100644 |
--- a/runtime/bin/process_win.cc |
+++ b/runtime/bin/process_win.cc |
@@ -983,6 +983,7 @@ intptr_t GetWinSignal(intptr_t signal) { |
intptr_t Process::SetSignalHandler(intptr_t signal) { |
signal = GetWinSignal(signal); |
if (signal == -1) { |
+ SetLastError(ERROR_NOT_SUPPORTED); |
return -1; |
} |