aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/processor/proc_maps_linux.cc5
1 files changed, 4 insertions, 1 deletions
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 <fcntl.h>
-#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>
#include <stdio.h>