diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-10-23 07:45:22 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2015-10-23 07:45:22 (GMT) |
commit | 1118c5d9254a3a4d1e4008dd0db7faaadc85a434 (patch) | |
tree | 6f713c4b15ed5fa62a2497c514d9269dacf123ed /win | |
parent | 531d62f5a16f5037e02c6b33780c974adb001436 (diff) | |
parent | f57b94fcdd20ab3ca14af675a17a24d0c742171d (diff) | |
download | tk-1118c5d9254a3a4d1e4008dd0db7faaadc85a434.zip tk-1118c5d9254a3a4d1e4008dd0db7faaadc85a434.tar.gz tk-1118c5d9254a3a4d1e4008dd0db7faaadc85a434.tar.bz2 |
Fix [916c1095438eae56]: Tk does not compile because GetVersionExW triggers warnings
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinPort.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h index 9f5fa9c..965dbc5 100644 --- a/win/tkWinPort.h +++ b/win/tkWinPort.h @@ -87,6 +87,13 @@ #define REDO_KEYSYM_LOOKUP /* + * See ticket [916c1095438eae56]: GetVersionExW triggers warnings + */ +#if defined(_MSC_VER) +# pragma warning(disable:4996) +#endif + +/* * The following macro checks to see whether there is buffered * input data available for a stdio FILE. */ |