[Ffmpeg-devel] network include files for MinGW

Ramiro Polla angustia
Mon Jan 29 16:40:45 CET 2007


M?ns Rullg?rd wrote:
> Ramiro Polla <angustia at arrozcru.no-ip.org> writes:
>
>   
>> M?ns Rullg?rd wrote:
>>     
>>> ramiro at lisha.ufsc.br writes:
>>>
>>>
>>>       
>>>> Hello,
>>>>
>>>> MinGW doesn't have some include files used in networking such as arpa/inet.h.
>>>>
>>>> What's the preferable way of going around this?
>>>> - #ifdef in each file with these includes
>>>> - make a network.h file with the #ifdefs inside it, and every network file
>>>> should include it
>>>> - make configure generate dummy include files for MinGW builds
>>>>
>>>>         
>>> I prefer option #2.  The fewer #ifdefs, the better.
>>>
>>>
>>>       
>> Is this ok for a start?
>>     
>
> Looks ok.
>
>   
Hmm... It's been here for 2 days. I'm waiting on this to send a patch 
that adds networking support for MinGW and fix
http://article.gmane.org/gmane.comp.video.ffmpeg.user/7761

Ramiro Polla




More information about the ffmpeg-devel mailing list