summaryrefslogtreecommitdiffstats
path: root/library/dde
diff options
context:
space:
mode:
Diffstat (limited to 'library/dde')
-rw-r--r--library/dde/pkgIndex.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index f993012..e414051 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/pkgIndex.tcl
@@ -1,5 +1,5 @@
-if {![package vsatisfies [package provide Tcl] 8]} {return}
-if {[string compare $::tcl_platform(platform) windows]} {return}
+if {![package vsatisfies [package provide Tcl] 8]} return
+if {[string compare [info sharedlibextension] .dll]} return
if {[info exists ::tcl_platform(debug)]} {
package ifneeded dde 1.2.4 [list load [file join $dir tcldde12g.dll] dde]
} else {