From dc5c38675cfc8a7417b7a93c5fbc947373955d03 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Mon, 17 Aug 2015 11:55:15 +0000 Subject: [PATCH] Fix proc_maps_linux compile for non-Linux R=ivanpe at https://codereview.chromium.org/1298443002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1491 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/proc_maps_linux.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/processor/proc_maps_linux.cc b/src/processor/proc_maps_linux.cc index 3ba767f3..64f80d09 100644 --- a/src/processor/proc_maps_linux.cc +++ b/src/processor/proc_maps_linux.cc @@ -5,11 +5,9 @@ #include "google_breakpad/processor/proc_maps_linux.h" #include -#include - -#if defined(OS_LINUX) || defined(OS_ANDROID) +#define __STDC_FORMAT_MACROS 1 #include -#endif +#include #include "processor/logging.h"