summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-17 07:14:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-05-17 07:14:13 (GMT)
commitfeb5958816bb507f819c42a0b5b77dc7001a76cd (patch)
treece5ad472bed9a050752f572ef2769f31a05bc7fa
parent880f2f98f5cb2c020219b568c53c4e03d4d28633 (diff)
downloadtcl-feb5958816bb507f819c42a0b5b77dc7001a76cd.zip
tcl-feb5958816bb507f819c42a0b5b77dc7001a76cd.tar.gz
tcl-feb5958816bb507f819c42a0b5b77dc7001a76cd.tar.bz2
Revert defining _HAVE_32BIT_TIME_T especially for mingw-4.0-rc1: Although it works, it has the side-effect that tcl8?.dll depends on msvcrt.dll symbols which are only available in later versions of msvcrt.dll. This is undesired, it really should be fixed in the mingw headers.
-rw-r--r--ChangeLog3
-rwxr-xr-xwin/configure3
-rw-r--r--win/tcl.m42
3 files changed, 0 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 507c5d9..b38a105 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,7 @@
2013-05-16 Jan Nijtmans <nijtmans@users.sf.net>
- * win/tcl.m4: Add support for the latest mingw-4.0-rc1.
- * win/configure: (regenerated)
* generic/tclBasic.c: Add panic in order to detect
incompatible mingw32 sys/stat.h and sys/time.h headers,
- (which is fixed by defining _HAVE_32BIT_TIME_T).
2013-05-06 Jan Nijtmans <nijtmans@users.sf.net>
diff --git a/win/configure b/win/configure
index cfd28d3..0f36f24 100755
--- a/win/configure
+++ b/win/configure
@@ -1744,9 +1744,6 @@ 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 e6b6714..7c55fc9 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -989,8 +989,6 @@ 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
#