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

Unified Diff: runtime/vm/signal_handler.h

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review issues Created 4 years, 11 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
« no previous file with comments | « runtime/vm/os_thread_openbsd.cc ('k') | runtime/vm/signal_handler_openbsd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/signal_handler.h
diff --git a/runtime/vm/signal_handler.h b/runtime/vm/signal_handler.h
index b204c55d55f1b127f781fc8c73b8c50989861b3d..ecda1bf96d45f39c7b961c5350cdcb466d9cb87f 100644
--- a/runtime/vm/signal_handler.h
+++ b/runtime/vm/signal_handler.h
@@ -11,6 +11,9 @@
#if defined(TARGET_OS_LINUX)
#include <signal.h> // NOLINT
#include <ucontext.h> // NOLINT
+#elif defined(TARGET_OS_OPENBSD)
+#include <signal.h> // NOLINT
+typedef struct sigcontext mcontext_t;
#elif defined(TARGET_OS_ANDROID)
#include <signal.h> // NOLINT
#if !defined(__BIONIC_HAVE_UCONTEXT_T)
« no previous file with comments | « runtime/vm/os_thread_openbsd.cc ('k') | runtime/vm/signal_handler_openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698