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

Ramiro Polla ramiro
Fri Mar 7 20:44:56 CET 2008


Hello,

$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.

Ramiro Polla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: network_1.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080307/2bd5b371/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: network_2.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080307/2bd5b371/attachment.txt>



More information about the ffmpeg-devel mailing list