summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-07-12 12:09:08 (GMT)
committersebres <sebres@users.sourceforge.net>2019-07-12 12:09:08 (GMT)
commit475ea88a0538af341d192a67d40da1b57c62d5a5 (patch)
tree823bcbf15f34443253c40b88e899f00e7ce79b25 /generic/tclBasic.c
parentf0c797e2edf75929773598894316a89570751e6d (diff)
parent69d77fc137dfe0dae543983211539fccd42bf428 (diff)
downloadtcl-475ea88a0538af341d192a67d40da1b57c62d5a5.zip
tcl-475ea88a0538af341d192a67d40da1b57c62d5a5.tar.gz
tcl-475ea88a0538af341d192a67d40da1b57c62d5a5.tar.bz2
integrate branch bug-4718b41c56, revert/rebuild win/configure (2.69 in tcl8.6), conflicts resolved, etc
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 31fa279..62e7e04 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -484,7 +484,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");