summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure5
-rw-r--r--win/tcl.m42
2 files changed, 7 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index a1c0f6d..111f5a4 100755
--- a/win/configure
+++ b/win/configure
@@ -4031,6 +4031,11 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_NO_SEH 1
_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
+#define _HAVE_32BIT_TIME_T 1
+_ACEOF
+
fi
#
diff --git a/win/tcl.m4 b/win/tcl.m4
index 5696366..e60967f 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -1006,6 +1006,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
if test "$tcl_cv_seh" = "no" ; then
AC_DEFINE(HAVE_NO_SEH, 1,
[Defined when mingw does not support SEH])
+ AC_DEFINE(_HAVE_32BIT_TIME_T, 1,
+ [Defined for mingw to use pre-2005 time API])
fi
#