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
This commit is contained in:
reimar 2011-01-05 16:01:01 +00:00 committed by Uoti Urpala
parent af0e2107b2
commit 6bed5460eb
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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