Bug 1755481: rename `nsIClipboard::getData` to `nsIClipboard::getSomeData` and docume...
[gecko.git] / media / ffvpx / config.h
blob3d107bf821b4d0a2a2cd5f91d31430af3bcea765
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 # else
14 # include "config_audio.h"
15 # endif
16 #else // MOZ_FFVPX_AUDIOONLY
17 # if defined(XP_WIN)
18 // Avoid conflicts with mozilla-config.h
19 # if !defined(_MSC_VER)
20 # undef HAVE_DIRENT_H
21 # undef HAVE_UNISTD_H
22 # endif
23 # if defined(_ARM64_)
24 # include "config_aarch64_win64.h"
25 # else
26 # if defined(HAVE_64BIT_BUILD)
27 # include "config_win64.h"
28 # else
29 # include "config_win32.h"
30 # endif
31 # endif
32 // Adjust configure defines for GCC
33 # if !defined(_MSC_VER)
34 # if !defined(HAVE_64BIT_BUILD)
35 # undef HAVE_MM_EMPTY
36 # define HAVE_MM_EMPTY 0
37 # endif
38 # undef HAVE_LIBC_MSVCRT
39 # define HAVE_LIBC_MSVCRT 0
40 # endif
41 # elif defined(XP_DARWIN)
42 # include "config_darwin64.h"
43 # elif defined(XP_UNIX)
44 # if defined(HAVE_64BIT_BUILD)
45 # include "config_unix64.h"
46 # else
47 # include "config_unix32.h"
48 # endif
49 # endif
50 #endif // else MOZ_FFVPX_AUDIOONLY
52 #include "config_common.h"
54 #endif // MOZ_FFVPX_CONFIG_H