changeset 3955:874534fb6d0f libavformat

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 0ebebd2ba034
children 8bdecea89071
files rtpdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtpdec.c	Sun Sep 28 23:06:25 2008 +0000
+++ b/rtpdec.c	Mon Sep 29 06:22:12 2008 +0000
@@ -20,7 +20,7 @@
  */
 
 /* needed for gethostname() */
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
 
 #include "libavcodec/bitstream.h"
 #include "avformat.h"