summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 13:39:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-06 13:39:28 (GMT)
commit57b26d33d3737f509c2a4392d4843dea5d97bc3b (patch)
tree28db63b370548cb011342a2d4191691cf7e4a677 /unix
parent22140449e59b9070e741eb4108f372bb602c4537 (diff)
downloadtk-57b26d33d3737f509c2a4392d4843dea5d97bc3b.zip
tk-57b26d33d3737f509c2a4392d4843dea5d97bc3b.tar.gz
tk-57b26d33d3737f509c2a4392d4843dea5d97bc3b.tar.bz2
Sync unix/tcl.m4 with Tcl 8.6
Diffstat (limited to 'unix')
-rw-r--r--unix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 25a01ac..51ac8d9 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2339,7 +2339,7 @@ AC_DEFUN([SC_TIME_HANDLER], [
fi
AC_CACHE_CHECK([tm_gmtoff in struct tm], tcl_cv_member_tm_gmtoff, [
- AC_TRY_COMPILE([#include <time.h>], [struct tm tm; tm.tm_gmtoff;],
+ AC_TRY_COMPILE([#include <time.h>], [struct tm tm; (void)tm.tm_gmtoff;],
tcl_cv_member_tm_gmtoff=yes, tcl_cv_member_tm_gmtoff=no)])
if test $tcl_cv_member_tm_gmtoff = yes ; then
AC_DEFINE(HAVE_TM_GMTOFF, 1, [Should we use the tm_gmtoff field of struct tm?])