[MPlayer-dev-eng] Compiling MPlayer under Wine

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Oct 9 00:46:32 CEST 2011


On Sun, Oct 09, 2011 at 12:34:15AM +0200, Reimar Döffinger wrote:
> On Sat, Oct 08, 2011 at 04:16:02AM +0200, Ingo Brückl wrote:
> > Reimar Döffinger wrote on Fri, 7 Oct 2011 19:11:59 +0200:
> > 
> > > Wine's DEFINE_GUID is incompatible with that code.
> > 
> > Oh. Now I see.
> > 
> > > Ugly hack, but you could try changing
> > > static DEFINE_GUID(CLSID_SampleGrabber
> > > to
> > > DEFINE_GUID(static CLSID_SampleGrabber
> > > etc.
> > 
> > Since Wine defines DEFINE_GUID using DECLSPEC_HIDDEN, this should be an
> > un-ugly patch, shouldn't it?
> 
> I am not sure DECLSPEC_HIDDEN has the same effect, and in addition
> I think this is at best only slightly less hackish and a good bit more
> ugly.

Note that just removing the static probably wouldn't cause problems
currently, but it's not a good solution really.


More information about the MPlayer-dev-eng mailing list