From 6bed5460ebcb3ecebf7e942f65a24385458609d2 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 5 Jan 2011 16:01:01 +0000 Subject: [PATCH] configure: Define _XOPEN_SOURCE to 600 in mkstemp check Define _XOPEN_SOURCE to 600 instead of 500 in mkstemp check, this is consistent to the use in libavcodec, consistent with other _XOPEN_SOURCE defines in tests and it fixes detection on Solaris that refuses to compile system headers when combining std=c99 with _XOPEN_SOURCE 500. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32759 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 668831b3c5..7fc4a68b70 100755 --- a/configure +++ b/configure @@ -2922,7 +2922,7 @@ done echocheck "mkstemp" _mkstemp=no -define_statement_check "_XOPEN_SOURCE 500" "stdlib.h" 'mkstemp("")' && _mkstemp=yes +define_statement_check "_XOPEN_SOURCE 600" "stdlib.h" 'mkstemp("")' && _mkstemp=yes if test "$_mkstemp" = yes ; then def_mkstemp='#define HAVE_MKSTEMP 1' else