mac/app: fix building with swift disabled

Fixes #14931
This commit is contained in:
der richter 2024-10-05 16:19:48 +02:00 committed by Kacper Michajłow
parent f7a895e7c1
commit 2fb8b00ac9
1 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@ const struct m_sub_options *app_bridge_vo_conf(void)
return &vo_sub_opts;
}
#if HAVE_SWIFT
void cocoa_init_media_keys(void)
{
[[AppHub shared] startRemote];
@ -139,4 +140,4 @@ int cocoa_main(int argc, char *argv[])
{
return [(Application *)[Application sharedApplication] main:argc :argv];
}
#endif