media/libvpx/vpx_rtcd.h

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /*
     2  *  Copyright (c) 2013 Mozilla Foundation. All Rights Reserved.
     3  *  Use of this source code is governed by a BSD-style license
     4  *  that can be found in the LICENSE file in the root of the source
     5  *  tree. An additional intellectual property rights grant can be found
     6  *  in the file PATENTS.
     7  */
     9 #if defined(_WIN64)
    10 /* 64 bit Windows */
    11 #include "vpx_rtcd_x86_64-win64-vs8.h"
    13 #elif defined(_WIN32)
    14 /* 32 bit Windows, MSVC. */
    15 #include "vpx_rtcd_x86-win32-vs8.h"
    17 #elif defined(__APPLE__) && defined(__x86_64__)
    18 /* 64 bit MacOS. */
    19 #include "vpx_rtcd_x86_64-darwin9-gcc.h"
    21 #elif defined(__APPLE__) && defined(__i386__)
    22 /* 32 bit MacOS. */
    23 #include "vpx_rtcd_x86-darwin9-gcc.h"
    25 #elif defined(__ELF__) && (defined(__i386) || defined(__i386__))
    26 /* 32 bit ELF platforms. */
    27 #include "vpx_rtcd_x86-linux-gcc.h"
    29 #elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__))
    30 /* 64 bit ELF platforms. */
    31 #include "vpx_rtcd_x86_64-linux-gcc.h"
    33 #elif defined(VPX_ARM_ASM)
    34 /* Android */
    35 #include "vpx_rtcd_armv7-android-gcc.h"
    37 #else
    38 /* Assume generic GNU/GCC configuration. */
    39 #include "vpx_rtcd_generic-gnu.h"
    40 #endif

mercurial