Skip to content

Commit c055621

Browse files
author
jan.nijtmans
committed
Protect thread 3 from Tcl 8.5 and lower
1 parent 6a576ea commit c055621

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgIndex.tcl.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# Tcl package index file, version 1.1
33
#
44

5+
if {![package vsatisfies [package provide Tcl] 8.6-]} {
6+
return
7+
}
8+
59
#
610
# For interps that are not thread-enabled, we still call [package ifneeded].
711
# This is contrary to the usual convention, but is a good idea because we

0 commit comments

Comments
 (0)