Merge tracemonkey to mozilla-central. (a=blockers)
[mozilla-central.git] / media / libvpx / vpx_config.h
blob153871f869ebbe8dade1561b93fe228cd3daad75
1 #if defined(VPX_X86_ASM)
3 #if defined(_WIN32) && !defined(__GNUC__) && defined(_M_IX86)
4 /* 32 bit Windows, MSVC. */
5 #include "vpx_config_x86-win32-vs8.h"
7 #elif defined(__APPLE__) && defined(__x86_64__)
8 /* 64 bit MacOS. */
9 #include "vpx_config_x86_64-darwin9-gcc.h"
11 #elif defined(__APPLE__) && defined(__i386__)
12 /* 32 bit MacOS. */
13 #include "vpx_config_x86-darwin9-gcc.h"
15 #elif defined(__linux__) && defined(__i386__)
16 /* 32 bit Linux. */
17 #include "vpx_config_x86-linux-gcc.h"
19 #elif defined(__linux__) && defined(__x86_64__)
20 /* 64 bit Linux. */
21 #include "vpx_config_x86_64-linux-gcc.h"
23 #elif defined(__sun) && defined(__i386)
24 /* 32 bit Solaris. */
25 #include "vpx_config_x86-linux-gcc.h"
27 #elif defined(__sun) && defined(__x86_64)
28 /* 64 bit Solaris. */
29 #include "vpx_config_x86_64-linux-gcc.h"
31 #elif defined(_MSC_VER) && defined(_M_X64)
32 /* 64 bit Windows */
33 #include "vpx_config_x86_64-win64-vs8.h"
35 #else
36 #error VPX_X86_ASM is defined, but assembly not supported on this platform!
37 #endif
39 #elif defined(VPX_ARM_ASM)
41 #if defined(__linux__) && defined(__GNUC__)
42 /* ARM Linux */
43 #include "vpx_config_arm-linux-gcc.h"
45 #else
46 #error VPX_ARM_ASM is defined, but assembly not supported on this platform!
47 #endif
49 #else
50 /* Assume generic GNU/GCC configuration. */
51 #include "vpx_config_generic-gnu.h"
52 #endif