[vlc-devel] commit: Fix for XCB_CURSOR_NONE undeclared issue (Gildas Bazin )

git version control git at videolan.org
Mon Feb 8 21:07:17 CET 2010


vlc | branch: master | Gildas Bazin <gbazin at videolan.org> | Mon Feb  8 20:06:10 2010 +0000| [1ae0370658b739bb9da07ca1ccb14a41469e9e46] | committer: Gildas Bazin 

Fix for XCB_CURSOR_NONE undeclared issue

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ae0370658b739bb9da07ca1ccb14a41469e9e46
---

 modules/video_output/xcb/events.c  |    3 ---
 modules/video_output/xcb/xcb_vlc.h |    4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/xcb/events.c b/modules/video_output/xcb/events.c
index e0245b9..3d17f0a 100644
--- a/modules/video_output/xcb/events.c
+++ b/modules/video_output/xcb/events.c
@@ -28,9 +28,6 @@
 #include <assert.h>
 
 #include <xcb/xcb.h>
-#ifndef XCB_CURSOR_NONE
-# define XCB_CURSOR_NONE ((xcb_cursor_t) 0U)
-#endif
 
 #include <vlc_common.h>
 #include <vlc_vout_display.h>
diff --git a/modules/video_output/xcb/xcb_vlc.h b/modules/video_output/xcb/xcb_vlc.h
index 4a286c5..0928f3e 100644
--- a/modules/video_output/xcb/xcb_vlc.h
+++ b/modules/video_output/xcb/xcb_vlc.h
@@ -26,6 +26,10 @@
 # define ORDER XCB_IMAGE_ORDER_LSB_FIRST
 #endif
 
+#ifndef XCB_CURSOR_NONE
+# define XCB_CURSOR_NONE ((xcb_cursor_t) 0U)
+#endif
+
 #include <vlc_picture.h>
 #include <vlc_vout_display.h>
 




More information about the vlc-devel mailing list