Index: src/mips/constants-mips.h |
diff --git a/src/mips/constants-mips.h b/src/mips/constants-mips.h |
index 200939d65a35d35188565c5eefd8ce32ac86cf7e..7dc695470ac55cbbbaa722d46738e26e2ccc8fe1 100644 |
--- a/src/mips/constants-mips.h |
+++ b/src/mips/constants-mips.h |
@@ -122,7 +122,9 @@ const uint32_t kMipsSwlOffset = 0; |
#error Unknown endianness |
#endif |
+#ifndef __STDC_FORMAT_MACROS |
#define __STDC_FORMAT_MACROS |
+#endif |
#include <inttypes.h> |
// Defines constants and accessor classes to assemble, disassemble and |