summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-10 23:25:22 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-11 00:15:06 +0200
commita2d8b25830fbdf092ecfbf0bfecb65642baba4eb (patch)
treec659b28b0371df667b4388f581c696362ae54982 /vcl
parentLibrary_dbtools: sort objects (diff)
downloadcore-a2d8b25830fbdf092ecfbf0bfecb65642baba4eb.tar.gz
core-a2d8b25830fbdf092ecfbf0bfecb65642baba4eb.zip
sysdata.hxx: work around idiotic warnings from winnt.h
Change-Id: I47e30a319b5f5b6a03e6a4993af8f7612efacbdc
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/sysdata.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/vcl/sysdata.hxx b/vcl/inc/vcl/sysdata.hxx
index 1033239779bd..15adcb7ee111 100644
--- a/vcl/inc/vcl/sysdata.hxx
+++ b/vcl/inc/vcl/sysdata.hxx
@@ -55,7 +55,14 @@ class UIView;
#endif
#if defined( WNT )
+#if _MSC_VER >= 1200
+#pragma warning(push)
+#pragma warning(disable:4201)
+#endif
#include <windef.h>
+#if _MSC_VER >= 1200
+#pragma warning(pop)
+#endif
#endif
// -----------------