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
This commit is contained in:
der richter 2020-02-09 11:45:55 +01:00
parent 6799f8e0e9
commit 1881698543
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ static const m_option_t mp_opts[] = {
OPT_SUBSTRUCT("", cocoa_opts, cocoa_conf, 0), OPT_SUBSTRUCT("", cocoa_opts, cocoa_conf, 0),
#endif #endif
#if HAVE_MACOS_COCOA_CB #if HAVE_COCOA
OPT_SUBSTRUCT("", macos_opts, macos_conf, 0), OPT_SUBSTRUCT("", macos_opts, macos_conf, 0),
#endif #endif