summaryrefslogtreecommitdiff
path: root/intl/locale/nsIDateTimeFormat.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 /intl/locale/nsIDateTimeFormat.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 'intl/locale/nsIDateTimeFormat.cpp')
-rw-r--r--intl/locale/nsIDateTimeFormat.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/intl/locale/nsIDateTimeFormat.cpp b/intl/locale/nsIDateTimeFormat.cpp
index 263b3abb4e..1290fdc3ee 100644
--- a/intl/locale/nsIDateTimeFormat.cpp
+++ b/intl/locale/nsIDateTimeFormat.cpp
@@ -6,9 +6,7 @@
#include "nsIDateTimeFormat.h"
#include "mozilla/RefPtr.h"
-#if defined(XP_MACOSX)
-#define USE_MAC_LOCALE
-#elif defined(XP_UNIX)
+#if defined(XP_UNIX)
#define USE_UNIX_LOCALE
#endif
@@ -18,9 +16,6 @@
#ifdef USE_UNIX_LOCALE
#include "unix/nsDateTimeFormatUnix.h"
#endif
-#ifdef USE_MAC_LOCALE
-#include "mac/nsDateTimeFormatMac.h"
-#endif
using mozilla::MakeAndAddRef;