diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 15:02:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 15:02:35 (GMT) |
commit | 929684e75adb84534f18b8fb2852a7b15231c1a7 (patch) | |
tree | 22c71d8b18a325db6e148d475dc4da7fd6dad901 | |
parent | 738f7b0aba8b000181d2e5d4cbd3c18655505940 (diff) | |
parent | a06d3694d5af51acabffa650a8aaaa30e199d130 (diff) | |
download | tcl-929684e75adb84534f18b8fb2852a7b15231c1a7.zip tcl-929684e75adb84534f18b8fb2852a7b15231c1a7.tar.gz tcl-929684e75adb84534f18b8fb2852a7b15231c1a7.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.tcl | 2 |
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} { |