summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/bindings/npapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/npapi/bindings/npapi.h')
-rw-r--r--third_party/npapi/bindings/npapi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index 954a0ed..1ab6463 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -103,6 +103,13 @@
# endif /* XP_WIN */
#endif /* _WINDOWS */
+// BEGIN GOOGLE MODIFICATIONS
+// On Linux, be sure to set the Mozilla-specific flag.
+#ifdef OS_LINUX
+#define XP_UNIX 1
+#endif
+// END GOOGLE MODIFICATIONS
+
#ifdef __MWERKS__
# define _declspec __declspec
# ifdef __INTEL__