mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
various tweaks to make this build on Linux
This commit is contained in:
parent
14db01298f
commit
b56808abd7
@ -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);
|
||||
|
@ -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%");
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user