* go-system.h (__STDC_FORMAT_MACROS): Define before including any
system header files, as is done in ../system.h.
From-SVN: r253666
+2017-10-11 Tony Reix <tony.reix@atos.net>
+
+ * go-system.h (__STDC_FORMAT_MACROS): Define before including any
+ system header files, as is done in ../system.h.
+
2017-10-05 Ian Lance Taylor <iant@golang.org>
* Make-lang.in (GO_OBJS): Add go/names.o.
#include "config.h"
+/* Define this so that inttypes.h defines the PRI?64 macros even
+ when compiling with a C++ compiler. Define it here so in the
+ event inttypes.h gets pulled in by another header it is already
+ defined. */
+#define __STDC_FORMAT_MACROS
+
// These must be included before the #poison declarations in system.h.
#include <algorithm>