summaryrefslogtreecommitdiff
path: root/np_sdk/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-17 10:15:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-17 11:51:12 +0200
commita21f52e7314bdc7968e92147bb4f3442ad769c09 (patch)
treeaeafd295b4caa53b5880a47eb909a3d2f152f4a9 /np_sdk/inc
parentbe9e5c5ade8c17f73ee96ee4013e9be7b4397855 (diff)
-Werror=undef (MinGW, np_sdk)
Change-Id: If8207bcc0e21eb206faa58c4debc34c95e33b279
Diffstat (limited to 'np_sdk/inc')
-rw-r--r--np_sdk/inc/npapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/np_sdk/inc/npapi.h b/np_sdk/inc/npapi.h
index 1a14ee944f7d..e554d2a985a4 100644
--- a/np_sdk/inc/npapi.h
+++ b/np_sdk/inc/npapi.h
@@ -51,12 +51,12 @@
#endif
#if defined(_WIN32) && !defined(__SYMBIAN32__)
-#if _MSC_VER >= 1200
+#if defined _MSC_VER && _MSC_VER >= 1200
#pragma warning(push)
#pragma warning(disable:4201)
#endif
#include <windef.h>
-#if _MSC_VER >= 1200
+#if defined _MSC_VER && _MSC_VER >= 1200
#pragma warning(pop)
#endif
#ifndef XP_WIN