Mercurial > mplayer.hg
diff configure @ 35904:cef5275fc11f
Avoid usage of obsolete and BSD-specific "struct timezone".
author | diego |
---|---|
date | Sun, 17 Mar 2013 22:47:31 +0000 |
parents | f5023d8238ce |
children | 6796199fb62a |
line wrap: on
line diff
--- a/configure Sun Mar 17 22:47:17 2013 +0000 +++ b/configure Sun Mar 17 22:47:31 2013 +0000 @@ -4143,7 +4143,7 @@ echocheck "gettimeofday()" gettimeofday=yes def_gettimeofday='#define HAVE_GETTIMEOFDAY 1' -statement_check sys/time.h 'struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz)' || +statement_check_broken stddef.h sys/time.h 'struct timeval tv; gettimeofday(&tv, NULL)' || { gettimeofday=no ; def_gettimeofday='#undef HAVE_GETTIMEOFDAY' ; } echores "$gettimeofday"