[Mplayer-cvslog] CVS: main/libmpdemux asf_mmst_streaming.c,1.9,1.10 asf_streaming.c,1.38,1.39 network.c,1.82,1.83 network.h,1.16,1.17 pnm.c,1.6,1.7 rtp.c,1.5,1.6 rtp.h,1.1,1.2 stream.c,1.66,1.67 stream_netstream.c,1.3,1.4

Diego Biurrun diego at biurrun.de
Thu Jun 12 00:10:45 CEST 2003


Diego Biurrun CVS writes:
 > Modified Files:
 > 	asf_mmst_streaming.c asf_streaming.c network.c network.h pnm.c 
 > 	rtp.c rtp.h stream.c stream_netstream.c 
 > Log Message:
 > Networking support under MinGW.
 > Patch by flo/yepyep <flodt8 at yahoo.de>.
 > 
 > --- asf_mmst_streaming.c	29 May 2003 19:33:33 -0000	1.9
 > +++ asf_mmst_streaming.c	11 Jun 2003 16:48:07 -0000	1.10
 > @@ -16,6 +16,12 @@
 >  
 >  #include "config.h"
 >  
 > +#ifndef HAVE_WINSOCK2
 > +#define closesocket close
 > +#else
 > +#include <winsock2.h>
 > +#endif

Shouldn't we just move

  #define closesocket close

to config.h?  All the files that use that #define include config.h
anyway..  Seems much cleaner to me.

Diego



More information about the MPlayer-cvslog mailing list