diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-08-17 11:55:15 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-08-17 11:55:15 +0000 |
commit | dc5c38675cfc8a7417b7a93c5fbc947373955d03 (patch) | |
tree | dee94bcc46edd5c24564966a8fb992f6bf29e226 /src | |
parent | [microdump] Move microdump writes to the crash ring-buffer log (diff) | |
download | breakpad-dc5c38675cfc8a7417b7a93c5fbc947373955d03.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/processor/proc_maps_linux.cc | 6 |
1 files 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 <fcntl.h> -#include <stdio.h> - -#if defined(OS_LINUX) || defined(OS_ANDROID) +#define __STDC_FORMAT_MACROS 1 #include <inttypes.h> -#endif +#include <stdio.h> #include "processor/logging.h" |