summaryrefslogtreecommitdiffstats
path: root/library/dde
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-24 20:21:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-24 20:21:16 (GMT)
commit105e4eace3cc532c22d517b3270966614e1c98a0 (patch)
treef7587ec802d28b8abaedf99e98dd2ba9084c5e6f /library/dde
parentec714d550beaef96474f793d50913556599c2ca5 (diff)
parentfd1b8fed98693958cd2b9a83f83e71f8afdbe3e3 (diff)
downloadtcl-105e4eace3cc532c22d517b3270966614e1c98a0.zip
tcl-105e4eace3cc532c22d517b3270966614e1c98a0.tar.gz
tcl-105e4eace3cc532c22d517b3270966614e1c98a0.tar.bz2
[Bug 3508771] load tclreg.dll in cygwin tclsh
Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
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 {