Commit cad7678c authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ed7fe424
......@@ -20,7 +20,7 @@
*/
/* needed for usleep() */
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE 600
#include "config.h"
#include <ctype.h>
......
......@@ -26,7 +26,7 @@
*/
/* needed for mkstemp() */
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE 600
#include "libavutil/integer.h"
#include "libavutil/crc.h"
......
......@@ -20,7 +20,7 @@
*/
/* needed for gethostname() */
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE 600
#include "libavcodec/bitstream.h"
#include "avformat.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment