[Mplayer-cvslog] CVS: main/libmpdemux mf.c,1.8,1.9

Sascha Sommer saschasommer at freenet.de
Fri Apr 25 17:50:43 CEST 2003


> On Friday, 25 April 2003, Sascha Sommer CVS wrote:
> > Update of /cvsroot/mplayer/main/libmpdemux
> > In directory mail:/var/tmp.root/cvs-serv20810
> > 
> > Modified Files:
> > mf.c 
> > Log Message:
> > enable mf support on mingw32
> > 
> > Index: mf.c
> [...]
> > @@ -27,7 +29,7 @@
> >  char * mf_type = NULL; //"jpg";
> >  
> >  mf_t* open_mf(char * filename){
> > -#ifdef HAVE_GLOB
> > +#if defined(HAVE_GLOB) || defined(__MINGW32__)
> 
> This isn't good IMHO. It'd better to #define HAVE_GLOB for mingw.
> 

I agree, but this would only move the #if defined(__MINGW32__) up to
this part 

 #ifdef HAVE_GLOB
 #include <glob.h>
+#else
+#include "../osdep/glob.h"
 #endif

or am I mssing something?

Sascha



More information about the MPlayer-cvslog mailing list