Revert of Reland: Introduce sys_sigprocmask and sys_sigaction. (patchset #5 id:160001...
[chromium-blink-merge.git] / sandbox / linux / system_headers / android_ucontext.h
blob8e873bed52171627753621fa651340e1896439ee
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_
6 #define SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_
8 #if defined(__ANDROID__)
10 #if defined(__arm__)
11 #include "sandbox/linux/system_headers/android_arm_ucontext.h"
12 #elif defined(__i386__)
13 #include "sandbox/linux/system_headers/android_i386_ucontext.h"
14 #elif defined(__x86_64__)
15 #include "sandbox/linux/system_headers/android_x86_64_ucontext.h"
16 #elif defined(__mips__)
17 #include "sandbox/linux/system_headers/android_mips_ucontext.h"
18 #elif defined(__aarch64__)
19 #include "sandbox/linux/system_headers/android_arm64_ucontext.h"
20 #else
21 #error "No support for your architecture in Android header"
22 #endif
24 #else // __ANDROID__
25 #error "Android header file included on non Android."
26 #endif // __ANDROID__
28 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_