blob: 475c8bfa5c30a35b7b3f3ed76ba365d6a4f10ae5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- gdbsupport/common-defs.h.orig 2020-02-08 04:50:14.000000000 -0800
+++ gdbsupport/common-defs.h 2020-02-27 10:06:21.899297000 -0800
@@ -55,9 +55,15 @@
Must do this before including any system header, since other system
headers may include stdint.h/inttypes.h. */
+#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS 1
+#endif
+#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
+#endif
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS 1
+#endif
/* Some distros enable _FORTIFY_SOURCE by default, which on occasion
has caused build failures with -Wunused-result when a patch is
|