1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef MOZ_FFVPX_CONFIG_H
8 #define MOZ_FFVPX_CONFIG_H
10 #if defined(MOZ_FFVPX_AUDIOONLY)
11 # if defined(MOZ_WIDGET_ANDROID) && defined(__arm__)
12 # include "config_android32.h"
13 # elif defined(MOZ_WIDGET_ANDROID) && defined(__aarch64__)
14 # include "config_android64.h"
15 # elif defined(__aarch64__)
16 # include "config_unix_aarch64.h"
19 # include "config_generic.h"
21 #else // MOZ_FFVPX_AUDIOONLY
23 // Avoid conflicts with mozilla-config.h
24 # if !defined(_MSC_VER)
29 # include "config_win64_aarch64.h"
31 # if defined(HAVE_64BIT_BUILD)
32 # include "config_win64.h"
34 # include "config_win32.h"
37 // Adjust configure defines for GCC
38 # if !defined(_MSC_VER)
39 # if !defined(HAVE_64BIT_BUILD)
41 # define HAVE_MM_EMPTY 0
43 # undef HAVE_LIBC_MSVCRT
44 # define HAVE_LIBC_MSVCRT 0
46 # elif defined(XP_DARWIN)
47 # if defined(__aarch64__)
48 # include "config_darwin_aarch64.h"
50 # include "config_darwin64.h"
52 # elif defined(MOZ_WIDGET_ANDROID) && defined(HAVE_64BIT_BUILD)
53 # include "config_android_x86_64.h"
54 # elif defined(XP_UNIX)
55 # if defined(HAVE_64BIT_BUILD)
56 # include "config_unix64.h"
58 # include "config_unix32.h"
61 #endif // else MOZ_FFVPX_AUDIOONLY
63 #include "config_override.h"
65 #endif // MOZ_FFVPX_CONFIG_H