summaryrefslogtreecommitdiff
path: root/memory/mozalloc
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
commit3d5f4a051c35d53a0eba0f5a8815c33007ce4d8e (patch)
tree859f6cf99f2e026b76dcc40b27b211154310d16e /memory/mozalloc
parentfc7a34ce36d66eb030094a0eb447c9ed61924e0e (diff)
downloadaura-central-3d5f4a051c35d53a0eba0f5a8815c33007ce4d8e.tar.gz
Issue mcp-graveyard/UXP%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 'memory/mozalloc')
-rw-r--r--memory/mozalloc/mozalloc.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/memory/mozalloc/mozalloc.h b/memory/mozalloc/mozalloc.h
index f42c7b04a..50dc53e5c 100644
--- a/memory/mozalloc/mozalloc.h
+++ b/memory/mozalloc/mozalloc.h
@@ -1,6 +1,4 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * vim: sw=4 ts=4 et :
- */
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -152,13 +150,9 @@ MFBT_API void* moz_xvalloc(size_t size)
*/
/* NB: This is defined just to silence vacuous warnings about symbol
- * visibility on OS X/gcc. These symbols are force-inline and not
- * exported. */
-#if defined(XP_MACOSX)
-# define MOZALLOC_EXPORT_NEW MFBT_API
-#else
-# define MOZALLOC_EXPORT_NEW
-#endif
+ * visibility on gcc. These symbols are force-inline and not exported.
+ */
+#define MOZALLOC_EXPORT_NEW
#if defined(_MSC_VER)
/*