4 #if defined(__aarch64__) || defined(_M_ARM64)
5 # define ARCH_AARCH64 1
7 # define ARCH_AARCH64 0
10 #if defined(__arm__) || defined(_M_ARM)
16 #if defined(__i386__) || defined(_M_IX86)
17 # define ARCH_X86_32 1
19 # define ARCH_X86_32 0
22 #if defined(__x86_64__) || defined(_M_X64)
23 # define ARCH_X86_64 1
25 # define ARCH_X86_64 0
28 #if ARCH_X86_32 == 1 || ARCH_X86_64 == 1
34 // Set both bitdepeth in every case
35 #define CONFIG_16BPC 1
39 #if defined(MOZ_DAV1D_ASM)
46 // Those values are copied from the auto generated
47 // config file produced by stand alone dav1d build.
48 # define HAVE_AS_FUNC 0
49 // Build with <sys/auxv.h> header only on Linux-specific systems.
50 #if defined(__linux__)
51 # define HAVE_GETAUXVAL 1
56 // The following macros are defined from autoconf
57 // according to the system configuration.
58 // (HAVE_MEMALIGN | HAVE_ALIGNED_MALLOC | HAVE_POSIX_MEMALIGN)
61 // Important when asm is enabled
62 #if defined(__APPLE__) || (ARCH_x86_32 == 1 && defined(_WIN32))
66 #if defined(_WIN32) || defined(__CYGWIN__)
67 // _WIN32_WINNT 0x0601 is set in global macros
70 # define __USE_MINGW_ANSI_STDIO 1