summaryrefslogtreecommitdiff
path: root/np_sdk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-12 21:39:42 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-12 21:39:42 +0200
commitc1aeceb363f188bc6a0de6c5cc1f7a6371b149b4 (patch)
treeecd8e89a07e9b9c516c92032dc01873019c17935 /np_sdk
parent765c7ddf2d883c25ca7e59928ff4ee091a6abb3c (diff)
npapi.h: work around idiotic warnings from winnt.h
Change-Id: I9a685fd0bf2e1285299d99ea39c29501bf8fadcd
Diffstat (limited to 'np_sdk')
-rw-r--r--np_sdk/inc/npapi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/np_sdk/inc/npapi.h b/np_sdk/inc/npapi.h
index de28d05564ac..aff84902f37e 100644
--- a/np_sdk/inc/npapi.h
+++ b/np_sdk/inc/npapi.h
@@ -51,7 +51,14 @@
#endif
#if defined(_WIN32) && !defined(__SYMBIAN32__)
+#if _MSC_VER >= 1200
+#pragma warning(push)
+#pragma warning(disable:4201)
+#endif
#include <windef.h>
+#if _MSC_VER >= 1200
+#pragma warning(pop)
+#endif
#ifndef XP_WIN
#define XP_WIN 1
#endif