summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-01 12:31:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-01 12:31:47 (GMT)
commit11cc37e81849a5f4dd75bdbf84a5d77e8fabd8f8 (patch)
tree3ee453a37ae6054eeda7a3149d427cd45446f653 /unix/tclAppInit.c
parent95bcc538075fc86ab77313a173e2c4ce89a38f0d (diff)
parent3311ca7d306a1bf7de8e03bac9eac81d63677899 (diff)
downloadtcl-11cc37e81849a5f4dd75bdbf84a5d77e8fabd8f8.zip
tcl-11cc37e81849a5f4dd75bdbf84a5d77e8fabd8f8.tar.gz
tcl-11cc37e81849a5f4dd75bdbf84a5d77e8fabd8f8.tar.bz2
Merge 8.6
Diffstat (limited to 'unix/tclAppInit.c')
-rw-r--r--unix/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclAppInit.c b/unix/tclAppInit.c
index f3caae7..552f9e4 100644
--- a/unix/tclAppInit.c
+++ b/unix/tclAppInit.c
@@ -83,8 +83,8 @@ main(
#ifdef TCL_LOCAL_MAIN_HOOK
TCL_LOCAL_MAIN_HOOK(&argc, &argv);
-#elif !defined(_WIN32) || defined(UNICODE)
- /* This doesn't work on Windows without UNICODE */
+#elif (TCL_MAJOR_VERSION > 8 || TCL_MINOR_VERSION > 6) && (!defined(_WIN32) || defined(UNICODE))
+ /* New in Tcl 8.7. This doesn't work on Windows without UNICODE */
TclZipfs_AppHook(&argc, &argv);
#endif