From 76ef9deb31732ece0d2a9c5a080f7346423ab1f8 Mon Sep 17 00:00:00 2001
From: bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>
Date: Tue, 4 Mar 2008 17:33:25 +0000
Subject: Don't redefine __STDC_FORMAT_MACROS if it's already defined. 
 r=mmentovai.

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@242 4c0a9323-5329-0410-9bdc-e9ce6186880e
---
 src/google_breakpad/common/breakpad_types.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

diff --git a/src/google_breakpad/common/breakpad_types.h b/src/google_breakpad/common/breakpad_types.h
index a66434f6..926b47f2 100644
--- a/src/google_breakpad/common/breakpad_types.h
+++ b/src/google_breakpad/common/breakpad_types.h
@@ -43,7 +43,9 @@
 #ifndef _WIN32
 
 #include <sys/types.h>
+#ifndef __STDC_FORMAT_MACROS
 #define __STDC_FORMAT_MACROS
+#endif  /* __STDC_FORMAT_MACROS */
 #include <inttypes.h>
 
 #if defined(__SUNPRO_CC) || (defined(__GNUC__) && defined(__sun__))
-- 
cgit v1.2.1