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

Side by Side Diff: runtime/vm/signal_handler.h

Issue 76883002: Android build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_SIGNAL_HANDLER_H_ 5 #ifndef VM_SIGNAL_HANDLER_H_
6 #define VM_SIGNAL_HANDLER_H_ 6 #define VM_SIGNAL_HANDLER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 10
11 #if defined(TARGET_OS_LINUX) 11 #if defined(TARGET_OS_LINUX)
12 #include <signal.h> // NOLINT 12 #include <signal.h> // NOLINT
13 #include <ucontext.h> // NOLINT 13 #include <ucontext.h> // NOLINT
14 #elif defined(TARGET_OS_ANDROID) 14 #elif defined(TARGET_OS_ANDROID)
15 #include <signal.h> // NOLINT 15 #include <signal.h> // NOLINT
16 #include <sys/sigcontext.h> // NOLINT
17 struct mcontext_t; 16 struct mcontext_t;
18 #elif defined(TARGET_OS_MACOS) 17 #elif defined(TARGET_OS_MACOS)
19 #include <signal.h> // NOLINT 18 #include <signal.h> // NOLINT
20 #include <sys/ucontext.h> // NOLINT 19 #include <sys/ucontext.h> // NOLINT
21 #elif defined(TARGET_OS_WINDOWS) 20 #elif defined(TARGET_OS_WINDOWS)
22 // Stub out for windows. 21 // Stub out for windows.
23 struct siginfo_t; 22 struct siginfo_t;
24 struct mcontext_t; 23 struct mcontext_t;
25 struct sigset_t { 24 struct sigset_t {
26 }; 25 };
(...skipping 20 matching lines...) Expand all
47 ~ScopedSignalBlocker(); 46 ~ScopedSignalBlocker();
48 47
49 private: 48 private:
50 sigset_t old_; 49 sigset_t old_;
51 }; 50 };
52 51
53 52
54 } // namespace dart 53 } // namespace dart
55 54
56 #endif // VM_SIGNAL_HANDLER_H_ 55 #endif // VM_SIGNAL_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698