[FFmpeg-cvslog] r22486 - in trunk: configure libavdevice/bktr.c
Diego Biurrun
diego
Sun Mar 21 10:19:10 CET 2010
On Fri, Mar 12, 2010 at 08:49:24PM +0300, Michael Kostylev wrote:
>
> On Fri Mar 12 18:28:02 2010
> diego wrote:
>
> > Log:
> > Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.
> >
> > This make NetBSD compile out of the box at the cost of a hack, but a
> > locally contained one that is preferable to the one used in the wild.
> > Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work
> > around broken system headers. Since it is unlikely for NetBSD to fix their
> > headers, it is better to use a standard flag instead of a system-specific one.
> >
> > As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition.
>
> Nope. We need either just _NETBSD_SOURCE in configure or
> _XOPEN_SOURCE in configure AND _NETBSD_SOURCE in libavdevice/bktr.c.
This was a misunderstanding in our private mail exchange. I'll revert
the change to libavdevice/bktr.c.
Diego
More information about the ffmpeg-cvslog
mailing list