summaryrefslogtreecommitdiffstats
path: root/library/reg
diff options
context:
space:
mode:
Diffstat (limited to 'library/reg')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index 7f34997..5c2218c 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/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]
+}