Mercurial > libavcodec.hg
comparison utils.c @ 7936:673cac811afb libavcodec
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
author | diego |
---|---|
date | Mon, 29 Sep 2008 06:22:12 +0000 |
parents | 9daf67c7e880 |
children | 8a3f24796fa9 |
comparison
equal
deleted
inserted
replaced
7935:21df17686936 | 7936:673cac811afb |
---|---|
24 * @file utils.c | 24 * @file utils.c |
25 * utils. | 25 * utils. |
26 */ | 26 */ |
27 | 27 |
28 /* needed for mkstemp() */ | 28 /* needed for mkstemp() */ |
29 #define _XOPEN_SOURCE 500 | 29 #define _XOPEN_SOURCE 600 |
30 | 30 |
31 #include "libavutil/integer.h" | 31 #include "libavutil/integer.h" |
32 #include "libavutil/crc.h" | 32 #include "libavutil/crc.h" |
33 #include "avcodec.h" | 33 #include "avcodec.h" |
34 #include "dsputil.h" | 34 #include "dsputil.h" |