summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-16 18:27:59 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:10:47 +0200
commit5d7f80c68b77454ac950f2a24b6110e36c29e7c7 (patch)
tree81c42f26100a80d21bdb237d07c5141970b29a5c /configure
parent8a1194889b22e105a372a62d8582cd230f59897a (diff)
downloadmpv-5d7f80c68b77454ac950f2a24b6110e36c29e7c7.tar.bz2
mpv-5d7f80c68b77454ac950f2a24b6110e36c29e7c7.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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 <sys/time.h>
-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