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)
commitb8df44e69e283fac9c93c0f64a77f61780e11ada (patch)
tree1a2160f8e58c193b664a07712457d362175dad9d /tools
parent53c90dd2dd157a577d263f199af9af9c2fb896d4 (diff)
downloadtcl-b8df44e69e283fac9c93c0f64a77f61780e11ada.zip
tcl-b8df44e69e283fac9c93c0f64a77f61780e11ada.tar.gz
tcl-b8df44e69e283fac9c93c0f64a77f61780e11ada.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}"