From: JP Dinger Date: Mon, 1 Feb 2010 00:54:08 +0000 (+0100) Subject: moz plugin: This should fix compilation but I can't test right now. X-Git-Tag: 1.1.0-ff~579 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0afbf8780823b4530a698443c33546f1c758bf39;p=vlc moz plugin: This should fix compilation but I can't test right now. --- diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp index 4a6b5808fa..af4277a772 100644 --- a/projects/mozilla/vlcplugin.cpp +++ b/projects/mozilla/vlcplugin.cpp @@ -37,6 +37,7 @@ #include #include +#include /***************************************************************************** * VlcPlugin constructor and destructor @@ -136,11 +137,12 @@ void EventObj::callback(const libvlc_event_t* event) void VlcPlugin::event_callback(const libvlc_event_t* event, void *param) { VlcPlugin *plugin = (VlcPlugin*)param; - plugin->events.callback(event); #ifdef XP_UNIX + plugin->events.callback(event); NPN_PluginThreadAsyncCall(plugin->getBrowser(), eventAsync, plugin); #else - NPN_SetException(this, "NPN_PluginThreadAsyncCall not implemented yet."); +#warning NPN_PluginThreadAsyncCall not implemented yet. + printf("%s","No NPN_PluginThreadAsyncCall(), doing nothing."); #endif }