summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-25 06:33:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-25 06:33:08 (GMT)
commit414c111140ce0f4367e4fced7901d3339a0c1dac (patch)
tree1a2160f8e58c193b664a07712457d362175dad9d /tools
parent863cac7bc69e5406ee00915ea899205c03fc3275 (diff)
downloadtcl-414c111140ce0f4367e4fced7901d3339a0c1dac.zip
tcl-414c111140ce0f4367e4fced7901d3339a0c1dac.tar.gz
tcl-414c111140ce0f4367e4fced7901d3339a0c1dac.tar.bz2
fix genStubs.tcl
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 e4cf868..96354f0 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -331,7 +331,7 @@ proc genStubs::addPlatformGuard {plat iftxt {eltxt {}} {withCygwin 0}} {
if {$withCygwin} {
append text " || defined(__CYGWIN__)"
}
- append text " || defined(MAC_OSX_TK))\
+ append text " || defined(MAC_TCL) || defined(MAC_OSX_TK))\
/* X11 */\n${iftxt}"
if {$eltxt != ""} {
append text "#else /* X11 */\n${eltxt}"