Revision: 22554
Author: [email protected]
Date: Wed Jul 23 11:24:12 2014 UTC
Log: Avoid redundent redefinition of __STDC_FORMAT_MACROS when
building with clang
[email protected], [email protected]
Review URL: https://codereview.chromium.org/404333003
http://code.google.com/p/v8/source/detail?r=22554
Modified:
/branches/bleeding_edge/src/arm64/constants-arm64.h
/branches/bleeding_edge/src/mips64/constants-mips64.h
=======================================
--- /branches/bleeding_edge/src/arm64/constants-arm64.h Mon Jun 9 14:23:46
2014 UTC
+++ /branches/bleeding_edge/src/arm64/constants-arm64.h Wed Jul 23 11:24:12
2014 UTC
@@ -15,7 +15,9 @@
// Get the standard printf format macros for C99 stdint types.
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
+#endif
#include <inttypes.h>
=======================================
--- /branches/bleeding_edge/src/mips64/constants-mips64.h Wed Jul 9
11:08:26 2014 UTC
+++ /branches/bleeding_edge/src/mips64/constants-mips64.h Wed Jul 23
11:24:12 2014 UTC
@@ -72,7 +72,9 @@
#endif
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
+#endif
#include <inttypes.h>
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.