diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-22 23:30:31 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:53:13 +0200 |
commit | 44c169c9be3cec6957d5b04272a3564cf9137109 (patch) | |
tree | 67e67139a70d6907f81e0fd3c74236acd0d84776 /mfbt/IntegerPrintfMacros.h | |
parent | 57383be95da385b336d988ff713b8e3bf097ce0f (diff) | |
download | UXP-44c169c9be3cec6957d5b04272a3564cf9137109.tar UXP-44c169c9be3cec6957d5b04272a3564cf9137109.tar.gz UXP-44c169c9be3cec6957d5b04272a3564cf9137109.tar.lz UXP-44c169c9be3cec6957d5b04272a3564cf9137109.tar.xz UXP-44c169c9be3cec6957d5b04272a3564cf9137109.zip |
Issue #1053 - Remove android support from mfbt
Diffstat (limited to 'mfbt/IntegerPrintfMacros.h')
-rw-r--r-- | mfbt/IntegerPrintfMacros.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/mfbt/IntegerPrintfMacros.h b/mfbt/IntegerPrintfMacros.h index c534a0ba2..14872a242 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_ */ |