diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/npapi/bindings/npapi.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h index 1ab6463..27492d7 100644 --- a/third_party/npapi/bindings/npapi.h +++ b/third_party/npapi/bindings/npapi.h @@ -104,9 +104,13 @@ #endif /* _WINDOWS */ // BEGIN GOOGLE MODIFICATIONS -// On Linux, be sure to set the Mozilla-specific flag. -#ifdef OS_LINUX +// On Linux and Mac, be sure to set Mozilla-specific macros. +#if defined(OS_LINUX) #define XP_UNIX 1 +#elif defined(OS_MACOSX) +#ifndef XP_MACOSX +#define XP_MACOSX 1 +#endif #endif // END GOOGLE MODIFICATIONS |