[FFmpeg-devel] [PATCH] Change deprecated use of _SVID_SOURCE to _DEFAULT_SOURCE
nfxjfg at googlemail.com
Fri Sep 19 19:38:13 CEST 2014
On Fri, 19 Sep 2014 08:19:34 -0500
Daniel Bomar <dbdaniel42 at gmail.com> wrote:
> What should be tested in configure? IMO take this patch and and if it
> breaks some old systems (not sure why it would) have a configure
> option to revert this on those systems.
I suppose it should test inet_aton, which is apparently why
_SVID_SOURCE is needed in the first place.
But it's probably not reasonable to demand from you to clean this up,
since there's no way knowing which ancient and broken systems may need
it and so on.
Anyway, why not define both _SVID_SOURCE and _DEFAULT_SOURCE? Could
work. From what I understand, the purpose is removing the warning that
is printed with recent glibc.
More information about the ffmpeg-devel