[vlc-commits] Caca: fix compilation for win32

Jean-Baptiste Kempf git at videolan.org
Sat Jun 9 23:57:52 CEST 2012


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;



More information about the vlc-commits mailing list