Bug 1874684 - Part 28: Return DateDuration from DifferenceISODateTime. r=mgaudet
[gecko.git] / media / ffvpx / config.h
blob528215efd6bd170bb1c90f2c2352c8c34b7d50d0
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"
17 # else
18 // no assembly
19 # include "config_generic.h"
20 # endif
21 #else // MOZ_FFVPX_AUDIOONLY
22 # if defined(XP_WIN)
23 // Avoid conflicts with mozilla-config.h
24 # if !defined(_MSC_VER)
25 # undef HAVE_DIRENT_H
26 # undef HAVE_UNISTD_H
27 # endif
28 # if defined(_ARM64_)
29 # include "config_win64_aarch64.h"
30 # else
31 # if defined(HAVE_64BIT_BUILD)
32 # include "config_win64.h"
33 # else
34 # include "config_win32.h"
35 # endif
36 # endif
37 // Adjust configure defines for GCC
38 # if !defined(_MSC_VER)
39 # if !defined(HAVE_64BIT_BUILD)
40 # undef HAVE_MM_EMPTY
41 # define HAVE_MM_EMPTY 0
42 # endif
43 # undef HAVE_LIBC_MSVCRT
44 # define HAVE_LIBC_MSVCRT 0
45 # endif
46 # elif defined(XP_DARWIN)
47 # if defined(__aarch64__)
48 # include "config_darwin_aarch64.h"
49 # else
50 # include "config_darwin64.h"
51 # endif
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"
57 # else
58 # include "config_unix32.h"
59 # endif
60 # endif
61 #endif // else MOZ_FFVPX_AUDIOONLY
63 #include "config_override.h"
65 #endif // MOZ_FFVPX_CONFIG_H