summaryrefslogtreecommitdiffstats
path: root/library/reg/pkgIndex.tcl
blob: f87d15c230c6ce5fb19b34564cf46a5d9fc0b7f2 (plain)
1
2
3
4
5
6
7
8
9
if {![package vsatisfies [package provide Tcl] 8.5]} return
if {[info sharedlibextension] ne ".dll"} return
if {[::tcl::pkgconfig get debug]} {
    package ifneeded registry 1.3 \
            [list load [file join $dir tclreg13g.dll] registry]
} else {
    package ifneeded registry 1.3 \
            [list load [file join $dir tclreg13.dll] registry]
}