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 | 4c439c45ea99dde38ee8343424d765ff7a0d351e (patch) | |
tree | c81d98b0a23ce26a5b9f3be426a08833c686ccef | |
parent | 1892e61aa6a78031b136ba00cedcddec2c3a534d (diff) | |
parent | 5b9c4d93934f7fbd3a078e79a54b0f8219a67a0a (diff) | |
download | tcl-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.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} { |