mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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:
parent
6799f8e0e9
commit
1881698543
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user