[FFmpeg-devel] [PATCH] udp: Define _DARWIN_C_SOURCE

Ronald S. Bultje rsbultje
Tue Oct 5 18:41:55 CEST 2010


On Tue, Oct 5, 2010 at 12:37 PM, Martin Storsj? <martin at martin.st> wrote:
> And I guess we don't want to enable any such define globally for the whole
> build. Should we force users to manually specify _DARWIN_C_SOURCE via
> --extra-cflags if they really want this


> or is there any way to enable
> this define only for one particular test in configure, where checking for
> ipv6_mreq?

Why not use the current test, if it fails re-try it with
_DARWIN_C_SOURCE defined, and then we also no longer need your patch
to udp.c.


More information about the ffmpeg-devel mailing list