# HG changeset patch # User reimar # Date 1294243261 0 # Node ID 81712a60b4bff0f22ee65704623596b9509be263 # Parent 08098f84e7b70016bd2b887f64886490a106e019 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. diff -r 08098f84e7b7 -r 81712a60b4bf configure --- 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