[vlc-devel] [PATCH 13/41] Define COLOR as VLC_COLOR on OS/2.

KO Myung-Hun komh at chollian.net
Mon Oct 10 13:43:52 CEST 2011


OS/2 has already the type of the same name.
---
 modules/video_filter/ball.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/video_filter/ball.c b/modules/video_filter/ball.c
index b98772f..abd655b 100644
--- a/modules/video_filter/ball.c
+++ b/modules/video_filter/ball.c
@@ -45,6 +45,11 @@
 
 enum { RED, GREEN, BLUE, WHITE };
 
+#ifdef __OS2__
+/* OS/2 has the type of the same name */
+# define COLOR  VLC_COLOR
+#endif
+
 typedef struct
 {
     uint8_t comp1;
-- 
1.7.3.2



More information about the vlc-devel mailing list