diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 17:06:39 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 17:15:57 +0100 |
commit | e03d9e97a65a7323657f1a04cfba03afc24670b1 (patch) | |
tree | e0c8d6354d966fb701235baf73b1c2091b73d492 /np_sdk/mozsrc | |
parent | 9be25f14bdd801106efcfae34c8f1492cddfa714 (diff) |
avoid Wundef in netscape plugins headers
Change-Id: I23f65de88a3c33f0820ce16d8b7836739fb83ce9
Diffstat (limited to 'np_sdk/mozsrc')
-rw-r--r-- | np_sdk/mozsrc/jri_md.h | 2 | ||||
-rw-r--r-- | np_sdk/mozsrc/npupp.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/np_sdk/mozsrc/jri_md.h b/np_sdk/mozsrc/jri_md.h index e5df4dbd3d56..ab631d1904a7 100644 --- a/np_sdk/mozsrc/jri_md.h +++ b/np_sdk/mozsrc/jri_md.h @@ -119,7 +119,7 @@ extern "C" { # endif /* Mac */ -#elif defined (macintosh) || Macintosh || THINK_C +#elif defined (macintosh) || defined(Macintosh) || defined(THINK_C) # if defined(__MWERKS__) /* Metrowerks */ # if !__option(enumsalwaysint) # error You need to define 'Enums Always Int' for your project. diff --git a/np_sdk/mozsrc/npupp.h b/np_sdk/mozsrc/npupp.h index 320aa74e6642..e0812ecd9408 100644 --- a/np_sdk/mozsrc/npupp.h +++ b/np_sdk/mozsrc/npupp.h @@ -66,6 +66,10 @@ /* NPP_Initialize */ +#ifndef TARGET_RT_MAC_CFM +#define TARGET_RT_MAC_CFM 0 +#endif + #define _NPUPP_USE_UPP_ (TARGET_RT_MAC_CFM && !TARGET_API_MAC_CARBON) #if _NPUPP_USE_UPP_ |