aboutsummaryrefslogtreecommitdiff
path: root/tcl/interface/parport.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/interface/parport.cfg')
-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 f7cc23ab..ae3f8f15 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