diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-10 11:35:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-02-10 11:35:13 (GMT) |
commit | 6b8394f347165c180bf1baae9739a68642e09d0e (patch) | |
tree | d75f1f89ded91bd4482049920ea3eb5d872cb848 /generic/ttk | |
parent | d015e4d8b48ad76acce178827f3ab114c330308c (diff) | |
download | tk-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/ttk')
-rw-r--r-- | generic/ttk/ttkClamTheme.c | 2 | ||||
-rw-r--r-- | generic/ttk/ttkDefaultTheme.c | 2 | ||||
-rw-r--r-- | generic/ttk/ttkElements.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/generic/ttk/ttkClamTheme.c b/generic/ttk/ttkClamTheme.c index 572f630..15ebcb7 100644 --- a/generic/ttk/ttkClamTheme.c +++ b/generic/ttk/ttkClamTheme.c @@ -12,7 +12,7 @@ * off-by-one error in the end point. This is especially apparent with this * theme. Defining this macro as true handles this case. */ -#if defined(WIN32) && !defined(WIN32_XDRAWLINE_HACK) +#if defined(_WIN32) && !defined(WIN32_XDRAWLINE_HACK) # define WIN32_XDRAWLINE_HACK 1 #else # define WIN32_XDRAWLINE_HACK 0 diff --git a/generic/ttk/ttkDefaultTheme.c b/generic/ttk/ttkDefaultTheme.c index 0c55651..81f8126 100644 --- a/generic/ttk/ttkDefaultTheme.c +++ b/generic/ttk/ttkDefaultTheme.c @@ -12,7 +12,7 @@ #include <X11/Xutil.h> #include "ttkTheme.h" -#if defined(WIN32) +#if defined(_WIN32) static const int WIN32_XDRAWLINE_HACK = 1; #else static const int WIN32_XDRAWLINE_HACK = 0; diff --git a/generic/ttk/ttkElements.c b/generic/ttk/ttkElements.c index c348834..5c95dba 100644 --- a/generic/ttk/ttkElements.c +++ b/generic/ttk/ttkElements.c @@ -1145,7 +1145,7 @@ static void TabElementDraw( Tk_3DBorderGC(tkwin, border, TK_3D_FLAT_GC), pts, 6, Convex, CoordModeOrigin); -#ifndef WIN32 +#ifndef _WIN32 /* * Account for whether XDrawLines draws endpoints by platform */ |