[Libreoffice-commits] .: np_sdk/inc
Michael Stahl
mst at kemper.freedesktop.org
Thu Jul 12 12:41:30 PDT 2012
np_sdk/inc/npapi.h | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit c1aeceb363f188bc6a0de6c5cc1f7a6371b149b4
Author: Michael Stahl <mstahl at redhat.com>
Date: Thu Jul 12 21:39:42 2012 +0200
npapi.h: work around idiotic warnings from winnt.h
Change-Id: I9a685fd0bf2e1285299d99ea39c29501bf8fadcd
diff --git a/np_sdk/inc/npapi.h b/np_sdk/inc/npapi.h
index de28d05..aff8490 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
More information about the Libreoffice-commits
mailing list