summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:00:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-11-15 15:00:14 (GMT)
commita06d3694d5af51acabffa650a8aaaa30e199d130 (patch)
treebba6dc6a2219db714d4413de45a1aa2101da03ce /tools/genStubs.tcl
parent67d9f4bf6ea825790cc022a9de7cb489e497afa3 (diff)
downloadtcl-a06d3694d5af51acabffa650a8aaaa30e199d130.zip
tcl-a06d3694d5af51acabffa650a8aaaa30e199d130.tar.gz
tcl-a06d3694d5af51acabffa650a8aaaa30e199d130.tar.bz2
Fix bug in genStubs.tcl: If the macosx section doesn't contain any macosx-specific entries, no section at all is created
<p>revert previous workaround in tclInt.decls
Diffstat (limited to 'tools/genStubs.tcl')
-rw-r--r--tools/genStubs.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index c29f6c9..db26629 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -827,7 +827,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} {