summaryrefslogtreecommitdiff
path: root/mfbt/IntegerPrintfMacros.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 23:30:31 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-22 23:30:31 -0500
commit2896724eaf851ee4b3d6f14eae05dcc626d88cdd (patch)
tree26eadf5f6c048489d98a3690952529cde77cfab6 /mfbt/IntegerPrintfMacros.h
parentdada39db2360486de3135d902aed4c351d6a76ad (diff)
downloaduxp-2896724eaf851ee4b3d6f14eae05dcc626d88cdd.tar.gz
Issue #1053 - Remove android support from mfbt
Diffstat (limited to 'mfbt/IntegerPrintfMacros.h')
-rw-r--r--mfbt/IntegerPrintfMacros.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/mfbt/IntegerPrintfMacros.h b/mfbt/IntegerPrintfMacros.h
index c534a0ba2c..14872a242c 100644
--- a/mfbt/IntegerPrintfMacros.h
+++ b/mfbt/IntegerPrintfMacros.h
@@ -28,25 +28,4 @@
#include <inttypes.h>
-/*
- * Fix up Android's broken [u]intptr_t inttype macros. Android's PRI*PTR
- * macros are defined as "ld", but sizeof(long) is 8 and sizeof(intptr_t)
- * is 4 on 32-bit Android. TestTypeTraits.cpp asserts that these new macro
- * definitions match the actual type sizes seen at compile time.
- */
-#if defined(ANDROID) && !defined(__LP64__)
-# undef PRIdPTR /* intptr_t */
-# define PRIdPTR "d" /* intptr_t */
-# undef PRIiPTR /* intptr_t */
-# define PRIiPTR "i" /* intptr_t */
-# undef PRIoPTR /* uintptr_t */
-# define PRIoPTR "o" /* uintptr_t */
-# undef PRIuPTR /* uintptr_t */
-# define PRIuPTR "u" /* uintptr_t */
-# undef PRIxPTR /* uintptr_t */
-# define PRIxPTR "x" /* uintptr_t */
-# undef PRIXPTR /* uintptr_t */
-# define PRIXPTR "X" /* uintptr_t */
-#endif
-
#endif /* mozilla_IntegerPrintfMacros_h_ */