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 # define HAVE_GETAUXVAL 1
53 // The following macros are defined from autoconf
54 // according to the system configuration.
55 // (HAVE_MEMALIGN | HAVE_ALIGNED_MALLOC | HAVE_POSIX_MEMALIGN)
58 // Important when asm is enabled
59 #if defined(__APPLE__) || (ARCH_x86_32 == 1 && defined(_WIN32))
63 #if defined(_WIN32) || defined(__CYGWIN__)
64 // _WIN32_WINNT 0x0601 is set in global macros
67 # define __USE_MINGW_ANSI_STDIO 1