changeset 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 21df17686936
children 50516d28608a
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun Sep 28 23:19:12 2008 +0000
+++ b/utils.c	Mon Sep 29 06:22:12 2008 +0000
@@ -26,7 +26,7 @@
  */
 
 /* needed for mkstemp() */
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
 
 #include "libavutil/integer.h"
 #include "libavutil/crc.h"