summaryrefslogtreecommitdiffstats
path: root/library/dde/pkgIndex.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-11-10 22:55:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-11-10 22:55:47 (GMT)
commitcb5c86b8a76dfadd445e7a9c45be06b4831260bb (patch)
tree2baa3b79f21d931cebde7a156afa75f1eaa9b134 /library/dde/pkgIndex.tcl
parentf38d3f45e484452ba99ef07b5348e2c479650d4a (diff)
downloadtcl-cb5c86b8a76dfadd445e7a9c45be06b4831260bb.zip
tcl-cb5c86b8a76dfadd445e7a9c45be06b4831260bb.tar.gz
tcl-cb5c86b8a76dfadd445e7a9c45be06b4831260bb.tar.bz2
* library/dde/pkgIndex.tcl: Added safeguards so that registry
* library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.3. * win/Makefile.in: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/configure: autoconf (2.57)
Diffstat (limited to 'library/dde/pkgIndex.tcl')
-rw-r--r--library/dde/pkgIndex.tcl5
1 files changed, 3 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index 7974e3e..d8d2d6e 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/pkgIndex.tcl
@@ -1,6 +1,7 @@
if {![package vsatisfies [package provide Tcl] 8]} {return}
+if {[string compare $::tcl_platform(platform) windows]} {return}
if {[info exists ::tcl_platform(debug)]} {
- package ifneeded dde 1.2.5 [list load [file join $dir tcldde12g.dll] dde]
+ package ifneeded dde 1.3 [list load [file join $dir tcldde13g.dll] dde]
} else {
- package ifneeded dde 1.2.5 [list load [file join $dir tcldde12.dll] dde]
+ package ifneeded dde 1.3 [list load [file join $dir tcldde13.dll] dde]
}