Index: base/debug/proc_maps_linux.cc |
=================================================================== |
--- base/debug/proc_maps_linux.cc (revision 254431) |
+++ base/debug/proc_maps_linux.cc (working copy) |
@@ -18,8 +18,12 @@ |
// is incompatible with Bionic's stdint.h defining uintptr_t as a unsigned int: |
Mark Mentovai
2014/03/03 14:25:35
What does Bionic’s inttypes.h define PRI/SCNxPTR a
|
// https://code.google.com/p/android/issues/detail?id=57218 |
#undef SCNxPTR |
+#ifdef __LP64__ |
+#define SCNxPTR "lx" |
+#else |
#define SCNxPTR "x" |
#endif |
+#endif |
namespace base { |
namespace debug { |