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.

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

mercurial