From 77af8d08592dbcb80ed87336b630507639a16d38 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 17 Jan 2010 13:18:59 +0000 Subject: Add hack to fix tvi_dshow compilation with 64-bit MinGW git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30347 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_dshow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stream/tvi_dshow.c b/stream/tvi_dshow.c index d5a0209280..9aec47ed54 100644 --- a/stream/tvi_dshow.c +++ b/stream/tvi_dshow.c @@ -374,6 +374,9 @@ static int tv_available_inputs_count = 0; * *--------------------------------------------------------------------------------------- */ +// selectany can not be used with "static", fixes compilation with mingw-w64 +#undef DECLSPEC_SELECTANY +#define DECLSPEC_SELECTANY /// CLSID definitions (used for CoCreateInstance call) #define CLSID_SampleGrabber MP_CLSID_SampleGrabber static DEFINE_GUID(CLSID_SampleGrabber, 0xC1F400A0, 0x3F08, 0x11d3, 0x9F, 0x0B, -- cgit v1.2.3