OSDN Git Service

Add _XOPEN_SOURCE=600 to CPPFLAGS on NetBSD.
authorDiego Biurrun <diego@biurrun.de>
Fri, 12 Mar 2010 17:28:02 +0000 (17:28 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 12 Mar 2010 17:28:02 +0000 (17:28 +0000)
commit2138dc99fc2623117c3336d94b3164d18dd0f8b2
tree30f7ad80fa2e9f8ff55b146524c5da969e73834e
parent2c4bc23e7a342cf02188c1dcdfd3fb3ee7d67b11
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.

Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
libavdevice/bktr.c