|
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. |
|
4 |
|
5 /* This file has been imported from |
|
6 * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/android_ucontext.h;hb=99b3e83972e478a42fa72da1ffefee58413e87d4 |
|
7 */ |
|
8 |
|
9 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |
|
10 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |
|
11 |
|
12 #if defined(__ANDROID__) |
|
13 |
|
14 #if defined(__arm__) |
|
15 #include "android_arm_ucontext.h" |
|
16 #elif defined(__i386__) |
|
17 #include "android_i386_ucontext.h" |
|
18 #else |
|
19 #error "No support for your architecture in Android header" |
|
20 #endif |
|
21 |
|
22 #else // __ANDROID__ |
|
23 #error "Android header file included on non Android." |
|
24 #endif // __ANDROID__ |
|
25 |
|
26 #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ |