aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2011-12-21 09:46:46 +0100
committerJiri Vanek <[email protected]>2011-12-21 09:46:46 +0100
commit684e9d8dc2e335ef808c2ed7df22d8ee3b801ea1 (patch)
tree8dcd9864ed77ffd09d297a29e127e59d7efd7eb2 /plugin
parentd6072b8d9141bdcc3e4be09671780054bad89432 (diff)
Made compatible with both versions of xulrunner
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/IcedTeaNPPlugin.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/icedteanp/IcedTeaNPPlugin.cc b/plugin/icedteanp/IcedTeaNPPlugin.cc
index 2192793..48a4378 100644
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc
@@ -2291,7 +2291,11 @@ NP_Initialize (NPNetscapeFuncs* browserTable, NPPluginFuncs* pluginTable)
// Returns a string describing the MIME type that this plugin
// handles.
-char*
+#ifdef LEGACY_XULRUNNERAPI
+ char*
+#else
+ const char*
+#endif
NP_GetMIMEDescription ()
{
PLUGIN_DEBUG ("NP_GetMIMEDescription\n");