Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: base/debug/proc_maps_linux.cc

Issue 185423006: Eliminate build warnings in base/ for Android x64 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/debug/stack_trace_android.cc » ('j') | base/debug/stack_trace_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | base/debug/stack_trace_android.cc » ('j') | base/debug/stack_trace_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698