From 188169854313b99d01da8f69fe129f0a487eb7c4 Mon Sep 17 00:00:00 2001 From: der richter Date: Sun, 9 Feb 2020 11:45:55 +0100 Subject: 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 --- options/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3