[vlc-devel] commit: mozilla: might fix compilation for win32. ( Rémi Duraffort )

git version control git at videolan.org
Sun Mar 8 14:52:26 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Mar  8 14:51:33 2009 +0100| [ea1596f0707fb6348d1abb804ec4f5c44c87fb00] | committer: Rémi Duraffort 

mozilla: might fix compilation for win32.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea1596f0707fb6348d1abb804ec4f5c44c87fb00
---

 projects/mozilla/vlcplugin.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index 2c4061c..1c4a083 100644
--- a/projects/mozilla/vlcplugin.cpp
+++ b/projects/mozilla/vlcplugin.cpp
@@ -74,8 +74,10 @@ VlcPlugin::VlcPlugin( NPP instance, uint16 mode ) :
 #endif
 {
     memset(&npwindow, 0, sizeof(NPWindow));
+#if XP_UNIX
     memset(&npvideo, 0, sizeof(Window));
     memset(&npcontrol, 0, sizeof(Window));
+#endif
 }
 
 static bool boolValue(const char *value) {




More information about the vlc-devel mailing list