From 3bc3dad8f8035b286734b40f8ef5431c1d511ade Mon Sep 17 00:00:00 2001 From: "primiano@chromium.org" Date: Wed, 19 Aug 2015 07:24:21 +0000 Subject: [PATCH] Fix inttypes format macros in src/processor/proc_maps_linux.cc crrev.com/1298443002 has introduced a build failure by re-defining __STDC_FORMAT_MACROS. Fixing it. BUG= R=mark@chromium.org, ted.mielczarek@gmail.com Review URL: https://codereview.chromium.org/1303493003 . git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1493 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/proc_maps_linux.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/processor/proc_maps_linux.cc b/src/processor/proc_maps_linux.cc index 64f80d09..ed185712 100644 --- a/src/processor/proc_maps_linux.cc +++ b/src/processor/proc_maps_linux.cc @@ -2,10 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif + #include "google_breakpad/processor/proc_maps_linux.h" #include -#define __STDC_FORMAT_MACROS 1 #include #include