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:
1 parent
af0e2107b2
commit
6bed5460eb
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user