From 0afbf8780823b4530a698443c33546f1c758bf39 Mon Sep 17 00:00:00 2001 From: JP Dinger Date: Mon, 1 Feb 2010 01:54:08 +0100 Subject: [PATCH] moz plugin: This should fix compilation but I can't test right now. --- projects/mozilla/vlcplugin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 } -- 2.39.2