michael@0: /* michael@0: * Copyright (c) 2013 Mozilla Foundation. All Rights Reserved. michael@0: * Use of this source code is governed by a BSD-style license michael@0: * that can be found in the LICENSE file in the root of the source michael@0: * tree. An additional intellectual property rights grant can be found michael@0: * in the file PATENTS. michael@0: */ michael@0: michael@0: #if defined(_WIN64) michael@0: /* 64 bit Windows */ michael@0: #ifdef _MSC_VER michael@0: #include "vp9_rtcd_x86_64-win64-vs8.h" michael@0: #else michael@0: #include "vp9_rtcd_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 "vp9_rtcd_x86-win32-vs8.h" michael@0: #else michael@0: #include "vp9_rtcd_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 "vp9_rtcd_x86_64-darwin9-gcc.h" michael@0: michael@0: #elif defined(__APPLE__) && defined(__i386__) michael@0: /* 32 bit MacOS. */ michael@0: #include "vp9_rtcd_x86-darwin9-gcc.h" michael@0: michael@0: #elif defined(__ELF__) && (defined(__i386) || defined(__i386__)) michael@0: /* 32 bit ELF platforms. */ michael@0: #include "vp9_rtcd_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 "vp9_rtcd_x86_64-linux-gcc.h" michael@0: michael@0: #elif defined(VPX_ARM_ASM) michael@0: /* Android */ michael@0: #include "vp9_rtcd_armv7-android-gcc.h" michael@0: michael@0: #else michael@0: /* Assume generic GNU/GCC configuration. */ michael@0: #include "vp9_rtcd_generic-gnu.h" michael@0: #endif