]> git.sesse.net Git - vlc/blobdiff - projects/mozilla/vlcshell.cpp
activex: distribute missing header too
[vlc] / projects / mozilla / vlcshell.cpp
index e59dac95f98102bd7dca9f85f9aea31581ac1800..883205b5311dc9de343e7e94592ab28ddba5519d 100644 (file)
 #include <string.h>
 #include <stdlib.h>
 
-/* Mozilla stuff */
-#ifdef HAVE_MOZILLA_CONFIG_H
-#   include <mozilla-config.h>
-#endif
-
 /* This is from mozilla java, do we really need it? */
 #if 0
 #include <jri.h>
@@ -168,6 +163,7 @@ int16_t NPP_HandleEvent( NPP instance, void * event )
         return false;
     }
 
+#ifndef __x86_64__  
     EventRecord *myEvent = (EventRecord*)event;
 
     switch( myEvent->what )
@@ -260,6 +256,7 @@ int16_t NPP_HandleEvent( NPP instance, void * event )
         default:
             ;
     }
+#endif // __x86_64__
     return false;
 }
 #endif /* XP_MACOSX */