summaryrefslogtreecommitdiff
path: root/np_sdk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-01 13:44:16 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-01 13:47:35 +0200
commitc9226b841a056246c349177f4a4d62ed8b93bf00 (patch)
tree1b55b7c0f734e46e3ec867e15798ed3e645f62e7 /np_sdk
parent2b4ee9bc454b812d92deb2201e23b485ccb64796 (diff)
np_sdk: fix -Wundef
Change-Id: Id806e33457ff0c828f55db1fe5e5444e208d2a1e
Diffstat (limited to 'np_sdk')
-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 aff84902f37e..1a14ee944f7d 100644
--- a/np_sdk/inc/npapi.h
+++ b/np_sdk/inc/npapi.h
@@ -384,7 +384,7 @@ typedef enum {
, NPPVpluginCoreAnimationLayer = 1003
#endif
-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)
+#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6))
, NPPVpluginWindowlessLocalBool = 2002
#endif
} NPPVariable;
@@ -435,7 +435,7 @@ typedef enum {
, NPNVsupportsUpdatedCocoaTextInputBool = 3002 /* TRUE if the browser supports the updated
Cocoa text input specification. */
#endif
-#if (MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6)
+#if defined(MOZ_PLATFORM_MAEMO) && ((MOZ_PLATFORM_MAEMO == 5) || (MOZ_PLATFORM_MAEMO == 6))
, NPNVSupportsWindowlessLocal = 2002
#endif
} NPNVariable;