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 1a01cf735a..e980cfc456 100644
--- a/libvo/vo_macosx.m
+++ b/libvo/vo_macosx.m
@@ -326,7 +326,7 @@ static int preinit(const char *arg)
if(!shared_buffer)
{
- #if !defined (MACOSX_FINDER_SUPPORT) || !defined (HAVE_SDL)
+ #if !defined (MACOSX_FINDER_SUPPORT) || !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);
@@ -913,7 +913,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];