security/sandbox/linux/android_ucontext.h

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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 /* 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  */
     9 #ifndef SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_
    10 #define SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_
    12 #if defined(__ANDROID__)
    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
    22 #else  // __ANDROID__
    23 #error "Android header file included on non Android."
    24 #endif  // __ANDROID__
    26 #endif  // SANDBOX_LINUX_SERVICES_ANDROID_UCONTEXT_H_

mercurial