summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.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/tkWindow.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/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index 4a65db7..53b368c 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -1578,7 +1578,7 @@ Tk_DestroyWindow(
* display now and relinquish its data structures.
*/
-#if !defined(WIN32) && defined(NOT_YET)
+#if !defined(_WIN32) && defined(NOT_YET)
if (dispPtr->refCount <= 0) {
/*
* I have disabled this code because on Windows there are
@@ -1626,7 +1626,7 @@ Tk_DestroyWindow(
TkCloseDisplay(dispPtr);
}
-#endif /* !WIN32 && NOT_YET */
+#endif /* !_WIN32 && NOT_YET */
}
}
Tcl_EventuallyFree(winPtr, TCL_DYNAMIC);