various tweaks to make this build on Linux

This commit is contained in:
alecf%netscape.com 1999-03-10 22:06:52 +00:00
parent 14db01298f
commit b56808abd7
4 changed files with 12 additions and 1 deletions

View File

@ -26,6 +26,11 @@
#include "nsINetPlugin.h"
#include "nsIComponentManager.h"
#include "plugin_inst.h"
/* net.h includes xp_core.h which has trouble with "Bool" */
#ifdef XP_UNIX
#undef Bool
#endif
#include "net.h"
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);

View File

@ -86,8 +86,10 @@ char *xpFileTypeToName(XP_FileType type) {
break;
case (xpHTTPCookie):
return PL_strdup("%USER%%COOKIE_F%");
#if defined(CookieManagement)
case (xpHTTPCookiePermission):
return PL_strdup("%USER%%COOKIE_PERMISSION_F%");
#endif
// case (xpHTTPSingleSignon):
// return PL_strdup("%USER%%SIGNON_F%");

View File

@ -21,6 +21,10 @@
#include "plugin_inst.h"
#include "rebuffer.h"
/* net.h includes xp_core.h which has trouble with "Bool" */
#ifdef XP_UNIX
#undef Bool
#endif
#include "net.h"
static NS_DEFINE_IID(kINetPluginInstanceIID, NS_INETPLUGININSTANCE_IID);

View File

@ -23,7 +23,7 @@
#include "nsINetPluginInstance.h"
// The ProgID for message/rfc822 messages
#define PROGRAM_ID MESSAGE_RFC822
#define PROGRAM_ID "message/rfc822"
// {B21EDB21-D10C-11d2-B373-525400E2D63A}
#define NS_INET_PLUGIN_MIME_CID \