Chromium Code Reviews| 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: |
| // https://code.google.com/p/android/issues/detail?id=57218 |
| #undef SCNxPTR |
| +#ifdef __LP64__ |
| +#define SCNxPTR "lx" |
| +#else |
|
rmcilroy
2014/03/03 10:55:05
Since SCNxPTR is already defined as "lx" by Bionic
|
| #define SCNxPTR "x" |
| #endif |
| +#endif |
| namespace base { |
| namespace debug { |