[vlc-devel] [vlc-commits] Caca: fix compilation for win32

Rafaël Carré rafael.carre at gmail.com
Sun Jun 10 01:18:43 CEST 2012


X display missing should be defined in config.h
Le 9 juin 2012 17:57, "Jean-Baptiste Kempf" <git at videolan.org> a écrit :

> vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun  9
> 23:57:39 2012 +0200| [051cea05c0f704283f8fbc5a00891cd7202384a2] |
> committer: Jean-Baptiste Kempf
>
> Caca: fix compilation for win32
>
> >
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=051cea05c0f704283f8fbc5a00891cd7202384a2
> ---
>
>  modules/video_output/caca.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
> index 5e98de1..a61edf8 100644
> --- a/modules/video_output/caca.c
> +++ b/modules/video_output/caca.c
> @@ -88,7 +88,7 @@ static int Open(vlc_object_t *object)
>     vout_display_t *vd = (vout_display_t *)object;
>     vout_display_sys_t *sys;
>
> -#if !defined(__APPLE__)
> +#if !defined(__APPLE__) && !defined(WIN32)
>  # ifndef X_DISPLAY_MISSING
>     if (!vlc_xlib_init(object))
>         return VLC_EGENERIC;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120609/4160d188/attachment.html>


More information about the vlc-devel mailing list