diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-11 11:13:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-11 11:13:41 (GMT) |
commit | ec480d44aa09883115b0d541f6dfeec2ed09155f (patch) | |
tree | 18a830ba043d5f055ec49cea156699b3794688eb /tools | |
parent | c05fbe8cf9ce62d0d061610ca3200c26dc12f3e8 (diff) | |
parent | 67d68fe341c4c825148b48d7fd74d2136ac8fa6a (diff) | |
download | tcl-ec480d44aa09883115b0d541f6dfeec2ed09155f.zip tcl-ec480d44aa09883115b0d541f6dfeec2ed09155f.tar.gz tcl-ec480d44aa09883115b0d541f6dfeec2ed09155f.tar.bz2 |
Merge trunk
Diffstat (limited to 'tools')
-rw-r--r-- | tools/genStubs.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl index c12568b..00195af 100644 --- a/tools/genStubs.tcl +++ b/tools/genStubs.tcl @@ -283,7 +283,7 @@ proc genStubs::addPlatformGuard {plat iftxt {eltxt {}} {withCygwin 0}} { set text "" switch $plat { win { - append text "#if defined(__WIN32__)" + append text "#if defined(_WIN32)" if {$withCygwin} { append text " || defined(__CYGWIN__)" } @@ -294,7 +294,7 @@ proc genStubs::addPlatformGuard {plat iftxt {eltxt {}} {withCygwin 0}} { append text "#endif /* WIN */\n" } unix { - append text "#if !defined(__WIN32__)" + append text "#if !defined(_WIN32)" if {$withCygwin} { append text " && !defined(__CYGWIN__)" } @@ -320,7 +320,7 @@ proc genStubs::addPlatformGuard {plat iftxt {eltxt {}} {withCygwin 0}} { append text "#endif /* AQUA */\n" } x11 { - append text "#if !(defined(__WIN32__)" + append text "#if !(defined(_WIN32)" if {$withCygwin} { append text " || defined(__CYGWIN__)" } |