diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 15:04:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-11-15 15:04:08 (GMT) |
commit | 6ead98de291ba352c56b0d1b98c98f3db380bafb (patch) | |
tree | c81d98b0a23ce26a5b9f3be426a08833c686ccef /tools | |
parent | 0e8c0bebc1adffa78100e1740398a43860a2d13d (diff) | |
parent | 929684e75adb84534f18b8fb2852a7b15231c1a7 (diff) | |
download | tcl-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.tcl | 2 |
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} { |