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

Unified Diff: src/processor/proc_maps_linux.cc

Issue 1303493003: Fix inttypes format macros in src/processor/proc_maps_linux.cc (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk
Patch Set: move inttypes back in place 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
diff --git a/src/processor/proc_maps_linux.cc b/src/processor/proc_maps_linux.cc
index 64f80d09fcdcd9333ea2168995cf034611a5e050..ed1857127ac7291e9fc610c4e4c2f40e40651748 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>
« 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