summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-23 07:45:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-23 07:45:22 (GMT)
commit724c2bf3066d5158d3cbd59bdafd8325761966a5 (patch)
tree6f713c4b15ed5fa62a2497c514d9269dacf123ed /win/tkWinPort.h
parented0b129f932f0c4247574dec0afc0a0ecb5077a1 (diff)
parent6aae6c7c27d9bc93bd2b4214f87f73c2ac500976 (diff)
downloadtk-724c2bf3066d5158d3cbd59bdafd8325761966a5.zip
tk-724c2bf3066d5158d3cbd59bdafd8325761966a5.tar.gz
tk-724c2bf3066d5158d3cbd59bdafd8325761966a5.tar.bz2
Fix [916c1095438eae56]: Tk does not compile because GetVersionExW triggers warnings
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r--win/tkWinPort.h7
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.
*/