Mercurial > mplayer.hg
diff mplayer.c @ 27377:d58d06eafe83
Change a bunch of X11-specific preprocessor directives.
Switch from a HAVE_ prefix to a CONFIG_ prefix.
author | diego |
---|---|
date | Mon, 04 Aug 2008 06:16:23 +0000 |
parents | 14c5017f40d2 |
children | 1d2faa1020fb |
line wrap: on
line diff
--- a/mplayer.c Sun Aug 03 20:17:46 2008 +0000 +++ b/mplayer.c Mon Aug 04 06:16:23 2008 +0000 @@ -58,7 +58,7 @@ #include "libvo/font_load.h" #include "libvo/sub.h" -#ifdef HAVE_X11 +#ifdef CONFIG_X11 #include "libvo/x11_common.h" #endif @@ -691,7 +691,7 @@ #ifdef WIN32 timeEndPeriod(1); #endif -#ifdef HAVE_X11 +#ifdef CONFIG_X11 #ifdef CONFIG_GUI if ( !use_gui ) #endif @@ -2734,7 +2734,7 @@ printf("\n"); opt_exit = 1; } -#ifdef HAVE_X11 +#ifdef CONFIG_X11 if(vo_fstype_list && strcmp(vo_fstype_list[0],"help")==0){ fstype_help(); mp_msg(MSGT_FIXME, MSGL_FIXME, "\n"); @@ -3745,7 +3745,7 @@ current_module="vo_check_events"; if (vo_config_count) mpctx->video_out->check_events(); -#ifdef HAVE_X11 +#ifdef CONFIG_X11 if (stop_xscreensaver) { current_module = "stop_xscreensaver"; xscreensaver_heartbeat();