[FFmpeg-devel] [PATCH] Fix MinGW compilation with --disable-network

Diego Biurrun diego
Fri Mar 7 21:14:49 CET 2008


On Fri, Mar 07, 2008 at 04:44:56PM -0300, Ramiro Polla wrote:
>
> $subj
>
> windows.h wasn't allowed to be included after os_support.h (which is  
> currently the case) because closesocket had been defined to close by  
> os_support.h and the multiple definitions of close would conflict.
>
> Attached patches move network-dependent code in os_support.h to an #ifdef.

Should be OK.

Diego




More information about the ffmpeg-devel mailing list