diff options
author | nijtmans <nijtmans> | 2009-08-09 21:20:33 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-09 21:20:33 (GMT) |
commit | 7aefedb2ea921fbeb0f6d6b99afeb1224a319318 (patch) | |
tree | ce53da0fddc1c8e4847bca5680922173a39e21b2 /win/ttkWinXPTheme.c | |
parent | 7dc7cda6232cfd38f3af5083634039d33b1959c2 (diff) | |
download | tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.zip tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.tar.gz tk-7aefedb2ea921fbeb0f6d6b99afeb1224a319318.tar.bz2 |
Eliminate various gcc warnings
include <vssym32.h> only when available
Diffstat (limited to 'win/ttkWinXPTheme.c')
-rw-r--r-- | win/ttkWinXPTheme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index d4cb16c..42e1e0e 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -1,5 +1,5 @@ /* - * $Id: ttkWinXPTheme.c,v 1.25 2009/08/02 21:40:17 nijtmans Exp $ + * $Id: ttkWinXPTheme.c,v 1.26 2009/08/09 21:20:34 nijtmans Exp $ * * Tk theme engine which uses the Windows XP "Visual Styles" API * Adapted from Georgios Petasis' XP theme patch. @@ -27,7 +27,7 @@ int TtkXPTheme_Init(Tcl_Interp *interp, HWND hwnd) { return TCL_OK; } #include <windows.h> #include <uxtheme.h> -#if defined(_MSC_VER) && (NTDDI_VERSION >= NTDDI_LONGHORN) +#ifdef HAVE_VSSYM32_H # include <vssym32.h> #else # include <tmschema.h> |