summaryrefslogtreecommitdiffstats
path: root/generic/tkCmds.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-10 11:35:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-02-10 11:35:13 (GMT)
commit6b8394f347165c180bf1baae9739a68642e09d0e (patch)
treed75f1f89ded91bd4482049920ea3eb5d872cb848 /generic/tkCmds.c
parentd015e4d8b48ad76acce178827f3ab114c330308c (diff)
downloadtk-6b8394f347165c180bf1baae9739a68642e09d0e.zip
tk-6b8394f347165c180bf1baae9739a68642e09d0e.tar.gz
tk-6b8394f347165c180bf1baae9739a68642e09d0e.tar.bz2
Eliminate all usage of WIN32 macro as well: _WIN32 is the portable macro.
Diffstat (limited to 'generic/tkCmds.c')
-rw-r--r--generic/tkCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCmds.c b/generic/tkCmds.c
index 23fad0f..a4f2ed9 100644
--- a/generic/tkCmds.c
+++ b/generic/tkCmds.c
@@ -14,7 +14,7 @@
#include "tkInt.h"
-#if defined(WIN32)
+#if defined(_WIN32)
#include "tkWinInt.h"
#elif defined(MAC_OSX_TK)
#include "tkMacOSXInt.h"
@@ -914,7 +914,7 @@ WindowingsystemCmd(
Tcl_WrongNumArgs(interp, 1, objv, NULL);
return TCL_ERROR;
}
-#if defined(WIN32)
+#if defined(_WIN32)
windowingsystem = "win32";
#elif defined(MAC_OSX_TK)
windowingsystem = "aqua";