summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:02:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:02:35 (GMT)
commit5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a (patch)
tree22c71d8b18a325db6e148d475dc4da7fd6dad901 /tools
parentdaf66f3418c6571e30eb3a2269147c39a84f37cd (diff)
parent212fc8e012dceb9f0f7a0052601ae83466aaca88 (diff)
downloadtcl-5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a.zip
tcl-5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a.tar.gz
tcl-5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a.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 4eaa03d..c7dbe93 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -834,7 +834,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} {