diff options
Diffstat (limited to 'library')
-rw-r--r-- | library/dde/pkgIndex.tcl | 3 | ||||
-rw-r--r-- | library/registry/pkgIndex.tcl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl index 42dc7cf..00a356e 100644 --- a/library/dde/pkgIndex.tcl +++ b/library/dde/pkgIndex.tcl @@ -1,5 +1,6 @@ +if {![package vsatisfies [package provide Tcl] 8.5-]} return if {[info sharedlibextension] != ".dll"} return -if {[package vsatisfies [package provide Tcl] 9.0]} { +if {[package vsatisfies [package provide Tcl] 9.0-]} { package ifneeded dde 1.4.4 \ [list load [file join $dir tcl9dde14.dll] Dde] } else { diff --git a/library/registry/pkgIndex.tcl b/library/registry/pkgIndex.tcl index 2628da4..765f02a 100644 --- a/library/registry/pkgIndex.tcl +++ b/library/registry/pkgIndex.tcl @@ -1,5 +1,6 @@ +if {![package vsatisfies [package provide Tcl] 8.5-]} return if {[info sharedlibextension] != ".dll"} return -if {[package vsatisfies [package provide Tcl] 9.0]} { +if {[package vsatisfies [package provide Tcl] 9.0-]} { package ifneeded registry 1.3.6 \ [list load [file join $dir tcl9registry13.dll] Registry] } else { |