summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 12:33:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 12:33:05 (GMT)
commita6b3146b87983fc0b4d81f371810c5dabf68bdbd (patch)
tree2ce6286cd13d706c6b0acb2b13ef9ac8fea15311 /win
parenta9dd569f8e5f2c3485e48f6314f03200876e0c2d (diff)
parent303d07068735830dccf5632f8be0b526aa63837b (diff)
downloadtcl-a6b3146b87983fc0b4d81f371810c5dabf68bdbd.zip
tcl-a6b3146b87983fc0b4d81f371810c5dabf68bdbd.tar.gz
tcl-a6b3146b87983fc0b4d81f371810c5dabf68bdbd.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 0b07e9f..0ae191c 100755
--- a/win/configure
+++ b/win/configure
@@ -4102,6 +4102,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 7a1aa02..be876f4 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -1018,6 +1018,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
#