diff --git a/libf2c/ChangeLog b/libf2c/ChangeLog index f48b5a014c1..6f57ca24198 100644 --- a/libf2c/ChangeLog +++ b/libf2c/ChangeLog @@ -1,5 +1,8 @@ -2000-07-02 Toon Moene +2000-07-03 Donn Terry (donnte@microsoft.com) + * libU77/aclocal.m4: check for 2 argument gettimeofday without + struct timezone +2000-07-02 Toon Moene * libF77/Version.c: Bumped version number to 0.5.26. * libI77/Version.c: Ditto. * libU77/Version.c: Ditto. diff --git a/libf2c/libU77/aclocal.m4 b/libf2c/libU77/aclocal.m4 index b9a74fd82f6..58f6a675899 100644 --- a/libf2c/libU77/aclocal.m4 +++ b/libf2c/libU77/aclocal.m4 @@ -54,8 +54,13 @@ main () ], [ struct timeval time; +#ifdef HAVE_TIMEZONE struct timezone dummy; - gettimeofday (&time, &dummy);], +#define DUMMY &dummy +#else +#define DUMMY NULL +#endif + gettimeofday (&time, DUMMY);], emacs_cv_gettimeofday_two_arguments=yes, emacs_cv_gettimeofday_two_arguments=no)) if test $emacs_cv_gettimeofday_two_arguments = no; then