michael@0: // Copyright (c) 2013 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: /* This file has been imported from michael@0: * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/android_ucontext.h;hb=99b3e83972e478a42fa72da1ffefee58413e87d4 michael@0: */ michael@0: michael@0: #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ michael@0: #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_ michael@0: michael@0: #if defined(__ANDROID__) michael@0: michael@0: #if defined(__arm__) michael@0: #include "android_arm_ucontext.h" michael@0: #elif defined(__i386__) michael@0: #include "android_i386_ucontext.h" michael@0: #else michael@0: #error "No support for your architecture in Android header" michael@0: #endif michael@0: michael@0: #else // __ANDROID__ michael@0: #error "Android header file included on non Android." michael@0: #endif // __ANDROID__ michael@0: michael@0: #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_