security/sandbox/linux/android_ucontext.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
michael@0 2 // Use of this source code is governed by a BSD-style license that can be
michael@0 3 // found in the LICENSE file.
michael@0 4
michael@0 5 /* This file has been imported from
michael@0 6 * http://git.chromium.org/gitweb/?p=chromium.git;a=blob_plain;f=sandbox/linux/services/android_ucontext.h;hb=99b3e83972e478a42fa72da1ffefee58413e87d4
michael@0 7 */
michael@0 8
michael@0 9 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_
michael@0 10 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_
michael@0 11
michael@0 12 #if defined(__ANDROID__)
michael@0 13
michael@0 14 #if defined(__arm__)
michael@0 15 #include "android_arm_ucontext.h"
michael@0 16 #elif defined(__i386__)
michael@0 17 #include "android_i386_ucontext.h"
michael@0 18 #else
michael@0 19 #error "No support for your architecture in Android header"
michael@0 20 #endif
michael@0 21
michael@0 22 #else // __ANDROID__
michael@0 23 #error "Android header file included on non Android."
michael@0 24 #endif // __ANDROID__
michael@0 25
michael@0 26 #endif // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_

mercurial