Commit 1510db0f authored by Egor Pasko's avatar Egor Pasko Committed by Commit Bot

base: remove Android NDK workaround for PRIxPTR

Remove the workaround for a bug that was fixed in the NDK in 2013.

Bug: None
Change-Id: I6b1e25c53c9b6d86604c3ae796d36ca5e2e50937
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2550801
Commit-Queue: Albert J. Wong <ajwong@chromium.org>
Auto-Submit: Egor Pasko <pasko@chromium.org>
Reviewed-by: default avatarAlbert J. Wong <ajwong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829590}
parent 340ccb32
......@@ -17,15 +17,6 @@
#include <inttypes.h>
#endif
#if defined(OS_ANDROID) && !defined(__LP64__)
// In 32-bit mode, Bionic's inttypes.h defines PRI/SCNxPTR as an
// unsigned long int, which is incompatible with Bionic's stdint.h
// defining uintptr_t as an unsigned int:
// https://code.google.com/p/android/issues/detail?id=57218
#undef SCNxPTR
#define SCNxPTR "x"
#endif
namespace base {
namespace debug {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment