summaryrefslogtreecommitdiff
path: root/mfbt
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-17 17:19:41 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 15:47:43 +0200
commitce0cefe0534a01af0a055a0a781d898e8b9f18ca (patch)
tree9a855f8e126937ef84352d01bacda2b34fb1c130 /mfbt
parent35e71030933059c0c312ec2dc35c616e31a3af75 (diff)
downloaduxp-ce0cefe0534a01af0a055a0a781d898e8b9f18ca.tar.gz
Issue #1053 - Second pass remove android defines and build system stuff.
Mostly IPC, tools and mozbuild.
Diffstat (limited to 'mfbt')
-rw-r--r--mfbt/TaggedAnonymousMemory.h3
-rw-r--r--mfbt/decimal/moz-decimal-utils.h5
2 files changed, 1 insertions, 7 deletions
diff --git a/mfbt/TaggedAnonymousMemory.h b/mfbt/TaggedAnonymousMemory.h
index 81256b1a70..f227c2805b 100644
--- a/mfbt/TaggedAnonymousMemory.h
+++ b/mfbt/TaggedAnonymousMemory.h
@@ -3,8 +3,7 @@
* 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/. */
-// Some Linux kernels -- specifically, newer versions of Android and
-// some B2G devices -- have a feature for assigning names to ranges of
+// Some Linux kernels have a feature for assigning names to ranges of
// anonymous memory (i.e., memory that doesn't have a "name" in the
// form of an underlying mapped file). These names are reported in
// /proc/<pid>/smaps alongside system-level memory usage information
diff --git a/mfbt/decimal/moz-decimal-utils.h b/mfbt/decimal/moz-decimal-utils.h
index f2a9f4f07c..d02f525fea 100644
--- a/mfbt/decimal/moz-decimal-utils.h
+++ b/mfbt/decimal/moz-decimal-utils.h
@@ -21,11 +21,6 @@
#include <limits>
#include <sstream>
-#ifndef UINT64_C
-// For Android toolchain
-#define UINT64_C(c) (c ## ULL)
-#endif
-
#ifdef ASSERT
#undef ASSERT
#endif