diff options
author | der richter <der.richter@gmx.de> | 2020-02-09 11:45:55 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-02-09 11:45:55 +0100 |
commit | 188169854313b99d01da8f69fe129f0a487eb7c4 (patch) | |
tree | f7380d59b024e0729fb1d39b89198e70a037620f | |
parent | 6799f8e0e94883d425d1517f15afb5e44a8cb87f (diff) | |
download | mpv-188169854313b99d01da8f69fe129f0a487eb7c4.tar.bz2 mpv-188169854313b99d01da8f69fe129f0a487eb7c4.tar.xz |
mac: always include the macOS config when cocoa is available
the macOS config was only used in cocoa-cb before and only included when
it was available. since this config is meant for general macOS options
and backend independent options we include it when cocoa is available.
one of the options is already used in the old cocoa backend, which broke
using it when build without swift or cocoa-cb support.
Fixes #7449
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index d2388bcf07..489f1bc4ed 100644 --- a/options/options.c +++ b/options/options.c @@ -748,7 +748,7 @@ static const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", cocoa_opts, cocoa_conf, 0), #endif -#if HAVE_MACOS_COCOA_CB +#if HAVE_COCOA OPT_SUBSTRUCT("", macos_opts, macos_conf, 0), #endif |