summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 08:20:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-16 08:20:16 (GMT)
commit880f2f98f5cb2c020219b568c53c4e03d4d28633 (patch)
tree85d0a8fc64ecc4d7424767f0d5f2e14060e82b86 /win
parent666ba89bc057e3cb71acbd5c7d983d4579969428 (diff)
downloadtcl-880f2f98f5cb2c020219b568c53c4e03d4d28633.zip
tcl-880f2f98f5cb2c020219b568c53c4e03d4d28633.tar.gz
tcl-880f2f98f5cb2c020219b568c53c4e03d4d28633.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/configure3
-rw-r--r--win/tcl.m42
2 files changed, 5 insertions, 0 deletions
diff --git a/win/configure b/win/configure
index 0f36f24..cfd28d3 100755
--- a/win/configure
+++ b/win/configure
@@ -1744,6 +1744,9 @@ echo "$ac_t""$tcl_cv_seh" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_NO_SEH 1
EOF
+ cat >> confdefs.h <<\EOF
+#define _HAVE_32BIT_TIME_T 1
+EOF
fi
diff --git a/win/tcl.m4 b/win/tcl.m4
index 7c55fc9..e6b6714 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -989,6 +989,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
#