summaryrefslogtreecommitdiff
path: root/mailnews/mime/src/mimeebod.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
commit6f707bde95dab6998ac204f9ee6c925ee230c740 (patch)
tree859f6cf99f2e026b76dcc40b27b211154310d16e /mailnews/mime/src/mimeebod.cpp
parentaa0fd3d68c856504646e1d7eb499bc890ef44101 (diff)
downloaduxp-6f707bde95dab6998ac204f9ee6c925ee230c740.tar.gz
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
Diffstat (limited to 'mailnews/mime/src/mimeebod.cpp')
-rw-r--r--mailnews/mime/src/mimeebod.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/mailnews/mime/src/mimeebod.cpp b/mailnews/mime/src/mimeebod.cpp
index 2ca056feb8..ee66c40ca2 100644
--- a/mailnews/mime/src/mimeebod.cpp
+++ b/mailnews/mime/src/mimeebod.cpp
@@ -21,10 +21,6 @@
MimeDefClass(MimeExternalBody, MimeExternalBodyClass,
mimeExternalBodyClass, &MIME_SUPERCLASS);
-#ifdef XP_MACOSX
-extern MimeObjectClass mimeMultipartAppleDoubleClass;
-#endif
-
static int MimeExternalBody_initialize (MimeObject *);
static void MimeExternalBody_finalize (MimeObject *);
static int MimeExternalBody_parse_line (const char *, int32_t, MimeObject *);
@@ -252,12 +248,6 @@ MimeExternalBody_parse_eof (MimeObject *obj, bool abort_p)
status = ((MimeObjectClass*)&MIME_SUPERCLASS)->parse_eof(obj, abort_p);
if (status < 0) return status;
-#ifdef XP_MACOSX
- if (obj->parent && mime_typep(obj->parent,
- (MimeObjectClass*) &mimeMultipartAppleDoubleClass))
- goto done;
-#endif /* XP_MACOSX */
-
if (!abort_p &&
obj->output_p &&
obj->options &&
@@ -425,10 +415,6 @@ FAIL:
PR_FREEIF(subj);
}
-#ifdef XP_MACOSX
-done:
-#endif
-
return status;
}