summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
blob: 4b269e64387aff7c4325a7b9f27950a4ab6932a1 (plain)
1
2
3
4
5
6
7
8
9
if {![package vsatisfies [package provide Tcl] 8]} return
if {[info sharedlibextension] != ".dll"} return
if {[info exists ::tcl_platform(debug)]} {
    package ifneeded registry 1.2.1 \
            [list load [file join $dir tclreg12g.dll] registry]
} else {
    package ifneeded registry 1.2.1 \
            [list load [file join $dir tclreg12.dll] registry]
}