]> git.sesse.net Git - vlc/commitdiff
- Don't hardcode OJI define - deprecated xith libxul 1.9.2
authorNicolas Chauvet <kwizart@gmail.com>
Mon, 29 Mar 2010 21:45:46 +0000 (23:45 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 30 Mar 2010 07:38:31 +0000 (10:38 +0300)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
projects/mozilla/support/npunix.c
projects/mozilla/vlcshell.cpp
projects/mozilla/vlcshell.h

index 9596c27c17b251a3be0f41f2490eff0d8fd2c96e..9eb851cf905fef64e91e3910676d48e6c0185a97 100644 (file)
@@ -46,7 +46,6 @@
 #include "config.h"
 
 #define XP_UNIX 1
-#define OJI 1
 
 #include <npapi.h>
 #if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20)
index bff669d6edec1e6c44894e6d621a9c77a15ffacd..5de1ed03813603030b0be47a8ecb130f2daf30f1 100644 (file)
@@ -272,10 +272,12 @@ NPError NPP_Initialize( void )
     return NPERR_NO_ERROR;
 }
 
+#ifdef OJI
 jref NPP_GetJavaClass( void )
 {
     return NULL;
 }
+#endif
 
 void NPP_Shutdown( void )
 {
index 6dd156158f4cc21c7e4305f00c4d058ec3b38d93..114865ae966fbcfb7ff4fbf374b8f8db2e39a7ff 100644 (file)
 char * NPP_GetMIMEDescription( void );
 
 NPError NPP_Initialize( void );
+
+#ifdef OJI 
 jref NPP_GetJavaClass( void );
+#endif
 void NPP_Shutdown( void );
 
 NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,