summaryrefslogtreecommitdiff
path: root/np_sdk/inc/npapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'np_sdk/inc/npapi.h')
-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;