summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/npapi/bindings/npapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/npapi/bindings/npapi.h b/third_party/npapi/bindings/npapi.h
index 11f35ab..db74e55 100644
--- a/third_party/npapi/bindings/npapi.h
+++ b/third_party/npapi/bindings/npapi.h
@@ -525,6 +525,14 @@ typedef struct _NPPrint
} print;
} NPPrint;
+// BEGIN GOOGLE MODIFICATIONS
+#ifdef XP_MACOSX
+typedef NPNSMenu NPMenu;
+#else
+typedef void * NPMenu;
+#endif
+// END GOOGLE MODIFICATIONS
+
#ifdef XP_MACOSX
typedef EventRecord NPEvent;
#elif defined(XP_WIN)