Change JAVA ifdef's to OJI to distinguish between OJI and tightly integrated JAVA

This commit is contained in:
hshaw 1998-04-21 06:47:20 +00:00
Родитель b5a3a9124e
Коммит ef10043270
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -25,7 +25,7 @@
////////////////////////////////////////////////////////////////////////////////
#include "npglue.h"
#ifdef JAVA
#ifdef OJI
#include "jvmmgr.h"
#endif
#include "xp_mem.h"
@ -154,7 +154,7 @@ NPIJVMPluginManager*
nsPluginManager::GetJVMMgr(const nsIID& aIID)
{
NPIJVMPluginManager* result = NULL;
#ifdef JAVA
#ifdef OJI
if (fJVMMgr == NULL) {
// The plugin manager is the outer of the JVM manager
if (JVMMgr::Create(this, kISupportsIID, (void**)&fJVMMgr) != NS_OK)
@ -197,7 +197,7 @@ nsPluginInstancePeer::AggregatedQueryInterface(const nsIID& aIID, void** aInstan
AddRef();
return NS_OK;
}
#ifdef JAVA
#ifdef OJI
// Aggregates...
if (fJVMInstancePeer == NULL) {
np_instance* instance = (np_instance*) npp->ndata;