[FFmpeg-devel] [PATCH] adding _GNU_SOURCE for udp.c compilation

Reimar Döffinger Reimar.Doeffinger
Sun Feb 10 21:59:16 CET 2008


Hello,
On Sun, Feb 10, 2008 at 10:25:08PM +0200, ?smail D?nmez wrote:
> On Feb 10, 2008, at 10:03 PM, Reimar D?ffinger wrote:
> > On Sun, Feb 10, 2008 at 09:59:56PM +0200, ?smail D?nmez wrote:
> >> On Feb 10, 2008, at 5:33 PM, Zdenek Kabelac wrote:
> >>> This small patch defines  -D_GNU_SOURCE which is needed for udp.c
> >>> compilation.
> >>> (It looks like newest headers do not have this flag enabled now so
> >>> this compilation breaks otherwise)
> >>
> >> glibc bug and only effects CVS version.
> >
> > According to what someone else said, that it worked at all so far is  
> > the
> > bug, not that it does not work now. Or can you point to something
> > showing those defines are in POSIX?
> 
> These definitons come from BSD itself so its not GNU spesific at all  
> so they shouldn't be under GNU namespace.

Even if it is BSD and not GNU that still is not POSIX and has no place
in FFmpeg, at least not as something that is required.




More information about the ffmpeg-devel mailing list