From d7df8af487e8ceffb9822f737c90ea72225c8f6d Mon Sep 17 00:00:00 2001 From: "cyeh%netscape.com" Date: Wed, 23 Sep 1998 17:23:04 +0000 Subject: [PATCH] add back #if 0 git-svn-id: svn://10.0.0.236/branches/RemoveOldDefines_BRANCH@10801 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/winfe/npwplat.cpp | 5 +++++ mozilla/js/src/jscompat.h | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/mozilla/cmd/winfe/npwplat.cpp b/mozilla/cmd/winfe/npwplat.cpp index d511fcb7a31..5c53c099938 100644 --- a/mozilla/cmd/winfe/npwplat.cpp +++ b/mozilla/cmd/winfe/npwplat.cpp @@ -805,6 +805,11 @@ void FE_UnloadPlugin(void* pluginType, struct _np_handle* handle) if (handle->userPlugin) { nsrefcnt cnt = handle->userPlugin->Release(); PR_ASSERT(cnt == 0); + +#if 0 // XXX later... + // remove the plugin directory if successful + JVM_RemoveFromClassPathRecursively(csPluginDir); +#endif } else { // the NP_Shutdown entry point was misnamed as NP_PluginShutdown, early diff --git a/mozilla/js/src/jscompat.h b/mozilla/js/src/jscompat.h index adce5262c92..0b709281e6e 100644 --- a/mozilla/js/src/jscompat.h +++ b/mozilla/js/src/jscompat.h @@ -12,6 +12,17 @@ #include "prlong.h" typedef PRIntn intN; typedef PRUintn uintN; +/* Following are already available in compatibility mode of NSPR 2.0 */ +#if 0 +typedef PRInt64 int64; +typedef PRInt32 int32; +typedef PRInt16 int16; +typedef PRInt8 int8; +typedef uint64 uint64; +typedef uint32 uint32; +typedef uint16 uint16; +typedef uint8 uint8; +#endif typedef PRUword pruword; typedef PRWord prword;