diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-02 17:38:11 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-02 17:38:11 +0000 |
commit | e588ab056dba6560ad4236ed21c38390b066e43b (patch) | |
tree | 98c1d121d9b8a381bee7f250fc60d4312a93058a /libvo/vo_ggi.c | |
parent | 7d6022deba055ec45f78c1fd91e827c175d2af48 (diff) | |
download | mpv-e588ab056dba6560ad4236ed21c38390b066e43b.tar.bz2 mpv-e588ab056dba6560ad4236ed21c38390b066e43b.tar.xz |
Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_ggi.c')
-rw-r--r-- | libvo/vo_ggi.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libvo/vo_ggi.c b/libvo/vo_ggi.c index 43d0567b28..4ff1f40299 100644 --- a/libvo/vo_ggi.c +++ b/libvo/vo_ggi.c @@ -29,7 +29,7 @@ #include <ggi/ggi.h> -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH #include <ggi/wmh.h> #endif @@ -70,7 +70,7 @@ static struct ggi_conf_s { } ggi_conf; -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH static void window_ontop(void) { mp_msg(MSGT_VO, MSGL_V, "[ggi] debug: window_ontop() called\n"); @@ -161,7 +161,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, #endif -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH ggiWmhSetTitle(ggi_conf.vis, title); if (vo_ontop) window_ontop(); #endif @@ -395,7 +395,7 @@ static int preinit(const char *arg) mp_msg(MSGT_VO, MSGL_FATAL, "[ggi] unable to initialize GGI\n"); return -1; } -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH if (ggiWmhInit() < 0) { mp_msg(MSGT_VO, MSGL_FATAL, "[ggi] unable to initialize libggiwmh\n"); return -1; @@ -424,7 +424,7 @@ static int preinit(const char *arg) ggi_conf.drawvis = ggi_conf.vis; -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH ggiWmhAttach(ggi_conf.vis); #endif @@ -440,7 +440,7 @@ static void uninit(void) if (ggi_conf.driver) free(ggi_conf.driver); -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH ggiWmhDetach(ggi_conf.vis); ggiWmhExit(); #endif @@ -459,7 +459,7 @@ static int control(uint32_t request, void *data, ...) return query_format(*((uint32_t *) data)); case VOCTRL_GET_IMAGE: return get_image(data); -#ifdef HAVE_GGIWMH +#ifdef CONFIG_GGIWMH case VOCTRL_ONTOP: vo_ontop = (!(vo_ontop)); window_ontop(); |