summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
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 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}"