Kaydet (Commit) e03d9e97 authored tarafından Luboš Luňák's avatar Luboš Luňák

avoid Wundef in netscape plugins headers

Change-Id: I23f65de88a3c33f0820ce16d8b7836739fb83ce9
üst 9be25f14
...@@ -119,7 +119,7 @@ extern "C" { ...@@ -119,7 +119,7 @@ extern "C" {
# endif # endif
/* Mac */ /* Mac */
#elif defined (macintosh) || Macintosh || THINK_C #elif defined (macintosh) || defined(Macintosh) || defined(THINK_C)
# if defined(__MWERKS__) /* Metrowerks */ # if defined(__MWERKS__) /* Metrowerks */
# if !__option(enumsalwaysint) # if !__option(enumsalwaysint)
# error You need to define 'Enums Always Int' for your project. # error You need to define 'Enums Always Int' for your project.
......
...@@ -66,6 +66,10 @@ ...@@ -66,6 +66,10 @@
/* NPP_Initialize */ /* 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) #define _NPUPP_USE_UPP_ (TARGET_RT_MAC_CFM && !TARGET_API_MAC_CARBON)
#if _NPUPP_USE_UPP_ #if _NPUPP_USE_UPP_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment