Prevent macro redefinition
Review URL: http://codereview.chromium.org/657016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40028 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/format_macros.h b/base/format_macros.h
index d218f48..9c9b9503 100644
--- a/base/format_macros.h
+++ b/base/format_macros.h
@@ -42,7 +42,9 @@
#define WidePRIu64 PRIu64
#define WidePRIx64 PRIx64
+#if !defined(PRIuS)
#define PRIuS "zu"
+#endif
#else // OS_WIN
@@ -62,7 +64,9 @@
#define WidePRIu64 L"I64u"
#define WidePRIx64 L"I64x"
+#if !defined(PRIuS)
#define PRIuS "Iu"
+#endif
#endif