mirror of
https://github.com/mpv-player/mpv
synced 2025-04-11 04:01:31 +00:00
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:
parent
af0e2107b2
commit
6bed5460eb
2
configure
vendored
2
configure
vendored
@ -2922,7 +2922,7 @@ done
|
|||||||
|
|
||||||
echocheck "mkstemp"
|
echocheck "mkstemp"
|
||||||
_mkstemp=no
|
_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
|
if test "$_mkstemp" = yes ; then
|
||||||
def_mkstemp='#define HAVE_MKSTEMP 1'
|
def_mkstemp='#define HAVE_MKSTEMP 1'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user