Commit b3cf2dab authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Apple: do not try to run a non existing globalhotkey module.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 95e775c3
...@@ -185,7 +185,7 @@ int main( int i_argc, const char *ppsz_argv[] ) ...@@ -185,7 +185,7 @@ int main( int i_argc, const char *ppsz_argv[] )
{ {
if (libvlc_add_intf (vlc, "signals")) if (libvlc_add_intf (vlc, "signals"))
pthread_sigmask (SIG_UNBLOCK, &set, NULL); pthread_sigmask (SIG_UNBLOCK, &set, NULL);
#if !defined (HAVE_MAEMO) #if !defined (HAVE_MAEMO) && !defined __APPLE__
libvlc_add_intf (vlc, "globalhotkeys,none"); libvlc_add_intf (vlc, "globalhotkeys,none");
#endif #endif
if (libvlc_add_intf (vlc, NULL) == 0) if (libvlc_add_intf (vlc, NULL) == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment