summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 12:22:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 12:22:51 (GMT)
commit65dd4e6fd7b8fb775cc64a3c846153190ddd01b1 (patch)
treefc529af33d77973c27a568e90d035a6cc6a9c8c0 /win
parent2c13dd7338d32cd3691df3d31100b0c760712afc (diff)
parent880f2f98f5cb2c020219b568c53c4e03d4d28633 (diff)
downloadtcl-65dd4e6fd7b8fb775cc64a3c846153190ddd01b1.zip
tcl-65dd4e6fd7b8fb775cc64a3c846153190ddd01b1.tar.gz
tcl-65dd4e6fd7b8fb775cc64a3c846153190ddd01b1.tar.bz2
Add support for the latest mingw-4.0-rc1. See: [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
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
#