[Ffmpeg-devel] network include files for MinGW

Måns Rullgård mru
Wed Jan 24 21:26:44 CET 2007


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.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list