summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:04:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:04:08 (GMT)
commit6ead98de291ba352c56b0d1b98c98f3db380bafb (patch)
treec81d98b0a23ce26a5b9f3be426a08833c686ccef /tools
parent0e8c0bebc1adffa78100e1740398a43860a2d13d (diff)
parent929684e75adb84534f18b8fb2852a7b15231c1a7 (diff)
downloadtcl-6ead98de291ba352c56b0d1b98c98f3db380bafb.zip
tcl-6ead98de291ba352c56b0d1b98c98f3db380bafb.tar.gz
tcl-6ead98de291ba352c56b0d1b98c98f3db380bafb.tar.bz2
Fix bug in genStubs.tcl: If the macosx section doesn't contain any macosx-specific entries, no section at all is created
Diffstat (limited to 'tools')
-rw-r--r--tools/genStubs.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index bbeb4bf..93e0a9a 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -828,7 +828,7 @@ proc genStubs::forAllStubs {name slotProc onAll textVar
append text [addPlatformGuard $plat $temp {} true]
}
## macosx ##
- if {$block(macosx) && !$block(aqua) && !$block(x11)} {
+ if {($block(unix) || $block(macosx)) && !$block(aqua) && !$block(x11)} {
set temp {}
set lastNum -1
foreach plat {unix macosx} {