diff options
Diffstat (limited to 'library/reg1.0/pkgIndex.tcl')
-rwxr-xr-x | library/reg1.0/pkgIndex.tcl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/library/reg1.0/pkgIndex.tcl b/library/reg1.0/pkgIndex.tcl index 7f34997..5c2218c 100755 --- a/library/reg1.0/pkgIndex.tcl +++ b/library/reg1.0/pkgIndex.tcl @@ -1 +1,7 @@ -package ifneeded registry 1.0 "load [list [file join $dir tclreg83.dll]] registry"
+if {[info exists tcl_platform(debug)]} {
+ package ifneeded registry 1.0 \
+ [list load [file join $dir tclreg83d.dll] registry]
+} else {
+ package ifneeded registry 1.0 \
+ [list load [file join $dir tclreg83.dll] registry]
+}
|