Skip to content

Commit

Permalink
Assume that gettimeofday() takes two arguments when cross-compiling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Sep 23, 2004
1 parent 48d3ff9 commit a20a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ AC_TRY_RUN([
#include <unistd.h>
main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes,rsync_cv_HAVE_GETTIMEOFDAY_TZ=no,rsync_cv_HAVE_GETTIMEOFDAY_TZ=cross)])
if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
AC_DEFINE(HAVE_GETTIMEOFDAY_TZ, 1, [ ])
fi

Expand Down

0 comments on commit a20a88d

Please sign in to comment.