mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Fix for possible build breakage on Mac.
This commit is contained in:
parent
bdac79a3a7
commit
bf3072d449
@ -555,7 +555,8 @@ nsMsgAttachmentHandler::SnarfAttachment(nsMsgCompFields *compFields)
|
|||||||
char *separator;
|
char *separator;
|
||||||
nsInputStream inputFile(nsFileSpec(url_string));
|
nsInputStream inputFile(nsFileSpec(url_string));
|
||||||
|
|
||||||
if (!inputFile.Exists())
|
#ifdef RICHIE_APPLE_DOUBLE
|
||||||
|
if (!inputFile.exists())
|
||||||
return NS_ERROR_OUT_OF_MEMORY;
|
return NS_ERROR_OUT_OF_MEMORY;
|
||||||
|
|
||||||
separator = mime_make_separator("ad");
|
separator = mime_make_separator("ad");
|
||||||
@ -579,8 +580,6 @@ nsMsgAttachmentHandler::SnarfAttachment(nsMsgCompFields *compFields)
|
|||||||
// location, then patch the new file spec into the array and send this
|
// location, then patch the new file spec into the array and send this
|
||||||
// file instead.
|
// file instead.
|
||||||
//
|
//
|
||||||
#ifdef RICHIE_APPLE_DOUBLE
|
|
||||||
|
|
||||||
AppleDoubleEncodeObject *obj = new (AppleDoubleEncodeObject);
|
AppleDoubleEncodeObject *obj = new (AppleDoubleEncodeObject);
|
||||||
if (obj == NULL)
|
if (obj == NULL)
|
||||||
{
|
{
|
||||||
|
@ -32,10 +32,11 @@
|
|||||||
// Forward declarations...
|
// Forward declarations...
|
||||||
class nsMsgComposeAndSend;
|
class nsMsgComposeAndSend;
|
||||||
|
|
||||||
#ifdef XP_MAC
|
#ifdef RICH_XP_MAC
|
||||||
|
|
||||||
#include "nsFileStream.h"
|
#include "nsFileStream.h"
|
||||||
|
|
||||||
|
typedef appledouble_encode_object;
|
||||||
typedef struct _AppledoubleEncodeObject
|
typedef struct _AppledoubleEncodeObject
|
||||||
{
|
{
|
||||||
appledouble_encode_object ap_encode_obj;
|
appledouble_encode_object ap_encode_obj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user