aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcl/interface/parport.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/tcl/interface/parport.cfg b/tcl/interface/parport.cfg
index f7cc23a..ae3f8f1 100644
--- a/tcl/interface/parport.cfg
+++ b/tcl/interface/parport.cfg
@@ -7,7 +7,11 @@
if { [info exists PARPORTADDR] } {
set _PARPORTADDR $PARPORTADDR
} else {
- set _PARPORTADDR 0x378
+ if {$tcl_platform(platform) eq "windows"} {
+ set _PARPORTADDR 0x378
+ } {
+ set _PARPORTADDR 0
+ }
}
interface parport