[Ffmpeg-devel] [PATCH] MingW RTSP support
Måns Rullgård
mru
Sun Apr 2 00:32:02 CEST 2006
Diego Biurrun <diego at biurrun.de> writes:
> On Fri, Mar 31, 2006 at 06:46:25PM -0500, Rich Felker wrote:
>> On Fri, Mar 31, 2006 at 01:15:59PM -0600, Michael A. Kohn wrote:
>> > +#ifndef __MINGW32__
>> > #include <sys/socket.h>
>> > #include <netinet/in.h>
>> > -#ifndef __BEOS__
>> > -# include <arpa/inet.h>
>> > -#else
>> > +#include <netdb.h>
>> > +#endif
>> > +#ifdef __BEOS__
>> > # include "barpainet.h"
>> > +#elif !defined(__MINGW32__)
>> > +# include <arpa/inet.h>
>> > #endif
>> > -#include <netdb.h>
>>
>> This stuff is still unnecessary. Just add the missing headers to your
>> mingw.
>
> Why? We use #ifdef to support different platforms in many places, this
> looks pretty normal to me...
Well, it *is* pretty unreadable too...
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list