aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad
diff options
context:
space:
mode:
authorbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-03-04 17:33:25 +0000
committerbryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e>2008-03-04 17:33:25 +0000
commit76ef9deb31732ece0d2a9c5a080f7346423ab1f8 (patch)
tree65c8cb721a087691ef8e1dea71efb665e3205a5d /src/google_breakpad
parentUse "%" PRIx64 instead of "%llx" (#241). r=bryner (diff)
downloadbreakpad-76ef9deb31732ece0d2a9c5a080f7346423ab1f8.tar.xz
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
Diffstat (limited to 'src/google_breakpad')
-rw-r--r--src/google_breakpad/common/breakpad_types.h2
1 files changed, 2 insertions, 0 deletions
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__))