summaryrefslogtreecommitdiffstats
path: root/third_party/npapi
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/npapi')
-rw-r--r--third_party/npapi/bindings/npapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index e4693f2..3d31eab 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -73,9 +73,13 @@
/* BEGIN GOOGLE MODIFICATIONS */
/* On Linux and Mac, be sure to set Mozilla-specific macros. */
#if defined(USE_X11)
+#if !defined(XP_UNIX)
#define XP_UNIX 1
+#endif
+#if !defined(MOZ_X11)
#define MOZ_X11 1
#endif
+#endif
/* END GOOGLE MODIFICATIONS */
#if defined(__SYMBIAN32__)