Mercurial > mplayer.hg
changeset 32672:81712a60b4bf
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.
author | reimar |
---|---|
date | Wed, 05 Jan 2011 16:01:01 +0000 |
parents | 08098f84e7b7 |
children | 9bb86c2a9dc5 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Jan 05 15:59:43 2011 +0000 +++ b/configure Wed Jan 05 16:01:01 2011 +0000 @@ -3099,7 +3099,7 @@ 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