summaryrefslogtreecommitdiffstats
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)
commit4c439c45ea99dde38ee8343424d765ff7a0d351e (patch)
treec81d98b0a23ce26a5b9f3be426a08833c686ccef
parent1892e61aa6a78031b136ba00cedcddec2c3a534d (diff)
parent5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a (diff)
downloadtcl-4c439c45ea99dde38ee8343424d765ff7a0d351e.zip
tcl-4c439c45ea99dde38ee8343424d765ff7a0d351e.tar.gz
tcl-4c439c45ea99dde38ee8343424d765ff7a0d351e.tar.bz2
Fix bug in genStubs.tcl: If the macosx section doesn't contain any macosx-specific entries, no section at all is created
-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} {