[FFmpeg-devel] [patch] disable-network & mingw
Ramiro Polla
ramiro
Sun Dec 9 16:44:19 CET 2007
M?ns Rullg?rd wrote:
> Tom Harper <d.thomas.harper at gmail.com> writes:
>
>> I had a build error iwith --disable-network set in configure- this is
>> fixed by simply moving the network related include files inside
>> appropriate ifdef.
>>
>> Tom
>>
>> Index: os_support.c
>> ===================================================================
>> --- os_support.c (revision 11179)
>> +++ os_support.c (working copy)
>> @@ -25,6 +25,7 @@
>> #include <fcntl.h>
>> #include "os_support.h"
>>
>> +#ifdef CONFIG_NETWORK
>> #ifndef HAVE_SYS_POLL_H
>> #ifdef HAVE_WINSOCK2_H
>> #include <winsock2.h>
>> @@ -33,7 +34,6 @@
>> #endif
>> #endif
>>
>> -#ifdef CONFIG_NETWORK
>> #include "network.h"
>>
>> #if !defined(HAVE_INET_ATON)
>
> This seems reasonable to me. Can someone with an affected system
> confirm?
Confirmed. Applied.
More information about the ffmpeg-devel
mailing list