[MPlayer-cvslog] r21518 - trunk/stream/freesdp/priv.h
Rich Felker
dalias at aerifal.cx
Fri Dec 8 06:15:42 CET 2006
On Wed, Dec 06, 2006 at 05:03:00PM +0100, Michael Niedermayer wrote:
> Hi
>
> On Wed, Dec 06, 2006 at 01:19:30PM +0100, reimar wrote:
> > Author: reimar
> > Date: Wed Dec 6 13:19:30 2006
> > New Revision: 21518
> >
> > Modified:
> > trunk/stream/freesdp/priv.h
> >
> > Log:
> > Do not define _GNU_SOURCE, it is not necessary and causes a warning if it is
> > already defined
>
> actually IMHO *GNU_SOURCE should never be defined its doing just one thing
> and that is increasing the chance of non standard code to be introduced
Agree totally.
Instead define _POSIX_C_SOURCE (_POSIX_SOURCE for old versions) and
_XOPEN_SOURCE if needed, setting them to the appropriate values.
Rich
More information about the MPlayer-cvslog
mailing list