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

Unified Diff: src/processor/proc_maps_linux.cc

Issue 1298443002: Fix proc_maps_linux compile for non-Linux (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/proc_maps_linux.cc
===================================================================
--- src/processor/proc_maps_linux.cc (revision 1486)
+++ src/processor/proc_maps_linux.cc (working copy)
@@ -5,12 +5,10 @@
#include "google_breakpad/processor/proc_maps_linux.h"
#include <fcntl.h>
+#define __STDC_FORMAT_MACROS 1
+#include <inttypes.h>
#include <stdio.h>
-#if defined(OS_LINUX) || defined(OS_ANDROID)
-#include <inttypes.h>
-#endif
-
#include "processor/logging.h"
#if defined(OS_ANDROID) && !defined(__LP64__)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698