[FFmpeg-devel] [patch] disable-network & mingw

Måns Rullgård mans
Fri Dec 7 03:17:49 CET 2007


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?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list