summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/nfuncs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/base/nfuncs.cxx')
-rw-r--r--extensions/source/plugin/base/nfuncs.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/source/plugin/base/nfuncs.cxx b/extensions/source/plugin/base/nfuncs.cxx
index e965a5696f94..c3ba2a4fd605 100644
--- a/extensions/source/plugin/base/nfuncs.cxx
+++ b/extensions/source/plugin/base/nfuncs.cxx
@@ -102,8 +102,13 @@ NPNetscapeFuncs aNPNFuncs =
NPN_MemFree,
NPN_MemFlush,
NPN_ReloadPlugins,
+#ifdef OJI
NPN_GetJavaEnv,
NPN_GetJavaPeer,
+#else
+ 0,
+ 0,
+#endif
NPN_GetURLNotify,
NPN_PostURLNotify,
NPN_GetValue,