michael@0: #if defined(VPX_X86_ASM) michael@0: michael@0: #if defined(_WIN64) michael@0: /* 64 bit Windows */ michael@0: #ifdef _MSC_VER michael@0: #include "vpx_config_x86_64-win64-vs8.h" michael@0: #else michael@0: #include "vpx_config_x86_64-win64-gcc.h" michael@0: #endif michael@0: michael@0: #elif defined(_WIN32) michael@0: /* 32 bit Windows, MSVC. */ michael@0: #ifdef _MSC_VER michael@0: #include "vpx_config_x86-win32-vs8.h" michael@0: #else michael@0: #include "vpx_config_x86-win32-gcc.h" michael@0: #endif michael@0: michael@0: #elif defined(__APPLE__) && defined(__x86_64__) michael@0: /* 64 bit MacOS. */ michael@0: #include "vpx_config_x86_64-darwin9-gcc.h" michael@0: michael@0: #elif defined(__APPLE__) && defined(__i386__) michael@0: /* 32 bit MacOS. */ michael@0: #include "vpx_config_x86-darwin9-gcc.h" michael@0: michael@0: #elif defined(__ELF__) && (defined(__i386) || defined(__i386__)) michael@0: /* 32 bit ELF platforms. */ michael@0: #include "vpx_config_x86-linux-gcc.h" michael@0: michael@0: #elif defined(__ELF__) && (defined(__x86_64) || defined(__x86_64__)) michael@0: /* 64 bit ELF platforms. */ michael@0: #include "vpx_config_x86_64-linux-gcc.h" michael@0: michael@0: #else michael@0: #error VPX_X86_ASM is defined, but assembly not supported on this platform! michael@0: #endif michael@0: michael@0: #elif defined(VPX_ARM_ASM) michael@0: michael@0: /* Android */ michael@0: #include "vpx_config_armv7-android-gcc.h" michael@0: michael@0: #else michael@0: /* Assume generic GNU/GCC configuration. */ michael@0: #include "vpx_config_generic-gnu.h" michael@0: #endif michael@0: michael@0: /* Control error-concealment support using our own #define rather than michael@0: hard-coding it. */ michael@0: #if defined(MOZ_VPX_ERROR_CONCEALMENT) michael@0: #undef CONFIG_ERROR_CONCEALMENT michael@0: #define CONFIG_ERROR_CONCEALMENT 1 michael@0: #endif