From c9226b841a056246c349177f4a4d62ed8b93bf00 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 1 Apr 2013 13:44:16 +0200 Subject: np_sdk: fix -Wundef Change-Id: Id806e33457ff0c828f55db1fe5e5444e208d2a1e --- np_sdk/inc/npapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'np_sdk') 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; -- cgit