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

Zdenek Kabelac zdenek.kabelac
Sun Feb 10 23:15:12 CET 2008


2008/2/10, Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> 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.


Well I've just pointed the problem :) and proposed only the simplest solution :)
So don't kill me ;)

Zdenek



More information about the ffmpeg-devel mailing list