diff options
author | Jiri Vanek <[email protected]> | 2011-12-21 09:46:46 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2011-12-21 09:46:46 +0100 |
commit | 684e9d8dc2e335ef808c2ed7df22d8ee3b801ea1 (patch) | |
tree | 8dcd9864ed77ffd09d297a29e127e59d7efd7eb2 /plugin/icedteanp/IcedTeaNPPlugin.cc | |
parent | d6072b8d9141bdcc3e4be09671780054bad89432 (diff) |
Made compatible with both versions of xulrunner
Diffstat (limited to 'plugin/icedteanp/IcedTeaNPPlugin.cc')
-rw-r--r-- | plugin/icedteanp/IcedTeaNPPlugin.cc | 6 |
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"); |