1 |
--- gdb/common/common-defs.h.orig 2017-09-12 12:25:12 UTC |
2 |
+++ gdb/common/common-defs.h |
3 |
@@ -44,9 +44,15 @@ |
4 |
|
5 |
Must do this before including any system header, since other system |
6 |
headers may include stdint.h/inttypes.h. */ |
7 |
+#ifndef __STDC_CONSTANT_MACROS |
8 |
#define __STDC_CONSTANT_MACROS 1 |
9 |
+#endif |
10 |
+#ifndef __STDC_LIMIT_MACROS |
11 |
#define __STDC_LIMIT_MACROS 1 |
12 |
+#endif |
13 |
+#ifndef __STDC_FORMAT_MACROS |
14 |
#define __STDC_FORMAT_MACROS 1 |
15 |
+#endif |
16 |
|
17 |
#include <stdarg.h> |
18 |
#include <stdio.h> |