summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-13 17:20:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-13 17:20:28 (GMT)
commitc81f2463d8422204264a670b09f8a9323dcf4e4e (patch)
tree5023d0cb955552fb9348b57a73b3e1dd9e147e69 /generic/tclBasic.c
parentc5ced4ccd624f5ba4d19277b7d2394b4e9c41f88 (diff)
parent20d003110702ca2961f1cf0b9bda3f7eb7a28256 (diff)
downloadtcl-c81f2463d8422204264a670b09f8a9323dcf4e4e.zip
tcl-c81f2463d8422204264a670b09f8a9323dcf4e4e.tar.gz
tcl-c81f2463d8422204264a670b09f8a9323dcf4e4e.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 9832807..78b9f0c 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -657,7 +657,15 @@ Tcl_CreateInterp(void)
Tcl_Panic("Tcl_CallFrame must not be smaller than CallFrame");
}
-#if defined(_WIN32) && !defined(_WIN64)
+#if defined(_WIN32) && !defined(_WIN64) && !defined(_USE_64BIT_TIME_T) \
+ && !defined(__MINGW_USE_VC2005_COMPAT)
+ /* If Tcl is compiled on Win32 using -D_USE_64BIT_TIME_T or
+ * -D__MINGW_USE_VC2005_COMPAT, the result is a binary incompatible
+ * with the 'standard' build of Tcl: All extensions using Tcl_StatBuf
+ * or interal functions like TclpGetDate() need to be recompiled in
+ * the same way. Therefore, this is not officially supported.
+ * In stead, it is recommended to use Win64 or Tcl 9.0 (not released yet)
+ */
if (sizeof(time_t) != 4) {
/*NOTREACHED*/
Tcl_Panic("<time.h> is not compatible with MSVC");