summaryrefslogtreecommitdiff
path: root/m4/mktime.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-09-21 21:39:59 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-09-21 21:40:20 -0700
commitafc5fb6e9cb7a64609a7d18c260ed49aa98431a1 (patch)
treead3cb9944524ee089f91dbb1fcc2a9c8a4d3dcad /m4/mktime.m4
parent5b5d60e43291f2a14c50c3863deb929b8f42f64f (diff)
downloadgnulib-afc5fb6e9cb7a64609a7d18c260ed49aa98431a1.tar.gz
mktime: port to OpenVMS
Problem reported by John E. Malmberg in: https://lists.gnu.org/archive/html/bug-gnulib/2017-09/msg00100.html * m4/mktime.m4 (TIME_T_IS_SIGNED): Default to 0.
Diffstat (limited to 'm4/mktime.m4')
-rw-r--r--m4/mktime.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index 85666844e2..1461905fb9 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -1,4 +1,4 @@
-# serial 29
+# serial 30
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2017 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
@@ -55,6 +55,10 @@ AC_DEFUN([gl_FUNC_MKTIME_WORKS],
# include <signal.h>
#endif
+#ifndef TIME_T_IS_SIGNED
+# define TIME_T_IS_SIGNED 0
+#endif
+
/* Work around redefinition to rpl_putenv by other config tests. */
#undef putenv