summaryrefslogtreecommitdiffstats
path: root/libvo/vo_macosx.m
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_macosx.m')
-rw-r--r--libvo/vo_macosx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m
index 485202d285..9cd0a1a008 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -322,7 +322,7 @@ static int preinit(const char *arg)
if(!shared_buffer)
{
- #if !defined (MACOSX_FINDER_SUPPORT) || !defined (HAVE_SDL)
+ #if !defined (CONFIG_MACOSX_FINDER) || !defined (CONFIG_SDL)
//this chunk of code is heavily based off SDL_macosx.m from SDL
//it uses an Apple private function to request foreground operation
void CPSEnableForegroundOperation(ProcessSerialNumber* psn);
@@ -909,7 +909,7 @@ static int control(uint32_t request, void *data)
// Without SDL's bootstrap code (include SDL.h in mplayer.c),
// on Leopard, we got trouble to get the play window auto focused
// when app is actived. Following code fix this problem.
-#ifndef HAVE_SDL
+#ifndef CONFIG_SDL
if (isLeopardOrLater && [event type] == NSAppKitDefined
&& [event subtype] == NSApplicationActivatedEventType) {
[window makeMainWindow];