diff options
author | dgp <dgp@users.sourceforge.net> | 2003-11-10 22:42:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-11-10 22:42:06 (GMT) |
commit | d081bdaefdd5c97a2957145ea3f0ed540aa55942 (patch) | |
tree | 5e68bff272addf4657c3e95aaaabaff686717b47 /library/dde/pkgIndex.tcl | |
parent | 32aba931e84dea723663e8d37fa621e161e4b50e (diff) | |
download | tcl-d081bdaefdd5c97a2957145ea3f0ed540aa55942.zip tcl-d081bdaefdd5c97a2957145ea3f0ed540aa55942.tar.gz tcl-d081bdaefdd5c97a2957145ea3f0ed540aa55942.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.2.2.
Diffstat (limited to 'library/dde/pkgIndex.tcl')
-rw-r--r-- | library/dde/pkgIndex.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl index 49201f4..b293134 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.1 [list load [file join $dir tcldde12g.dll] dde] + package ifneeded dde 1.2.2 [list load [file join $dir tcldde12g.dll] dde] } else { - package ifneeded dde 1.2.1 [list load [file join $dir tcldde12.dll] dde] + package ifneeded dde 1.2.2 [list load [file join $dir tcldde12.dll] dde] } |