From 5d7f80c68b77454ac950f2a24b6110e36c29e7c7 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 16 Jun 2010 18:27:59 +0000 Subject: configure: change gettimeofday() test function parameters Use a struct timezone as second parameter for gettimeofday in the function test. This works around (broken?) systems where just git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31433 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index dbad4c148e..cc687907b2 100755 --- a/configure +++ b/configure @@ -3749,7 +3749,7 @@ echores "$_select" echocheck "gettimeofday()" cat > $TMPC << EOF #include -int main(void) {struct timeval tv_start; gettimeofday(&tv_start, NULL); return 0; } +int main(void) {struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz); return 0; } EOF _gettimeofday=no cc_check && _gettimeofday=yes -- cgit v1.2.3