From a9e1623e4498aa1212e6f777dec31314b85e4901 Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Wed, 19 Oct 2011 16:42:40 -0400 Subject: [PATCH] Update to npapi-sdk r14 Just uninteresting thing about undefined variables. --- npapi/npapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npapi/npapi.h b/npapi/npapi.h index e5baad9..507b723 100644 --- a/npapi/npapi.h +++ b/npapi/npapi.h @@ -379,7 +379,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; @@ -434,7 +434,7 @@ typedef enum { , NPNVsupportsCompositingCoreAnimationPluginsBool = 74656 /* TRUE if the browser supports CA model compositing */ #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;