diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-09-29 06:22:12 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-09-29 06:22:12 +0000 |
commit | d0feff2a5b9bfb75f21387ce0d52618d524d6015 (patch) | |
tree | 723121f8222f0808e2283baab820535754195dea /libavcodec/utils.c | |
parent | c44c4e181ff19e5dff592fb9c1e8f033766395aa (diff) | |
download | ffmpeg-streaming-d0feff2a5b9bfb75f21387ce0d52618d524d6015.zip ffmpeg-streaming-d0feff2a5b9bfb75f21387ce0d52618d524d6015.tar.gz |
Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com
Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e56b987..1559787 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -26,7 +26,7 @@ */ /* needed for mkstemp() */ -#define _XOPEN_SOURCE 500 +#define _XOPEN_SOURCE 600 #include "libavutil/integer.h" #include "libavutil/crc.h" |