aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/heaptrack/heaptrack/0004-backtrace-Always-include-stdint.h.patch
blob: 3db03cf85dc78e1bc4dc893161f07684558b67cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From 200f71ea8c0756594ac7e079ccc686d9a20cea5c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 23 Nov 2020 15:32:58 -0800
Subject: [PATCH] backtrace: Always include stdint.h

in OE we will always have system headers which supports C99/stdint.h

Upstream-Status: Inappropriate [Unless upstream drops legacy]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 3rdparty/libbacktrace/backtrace.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/3rdparty/libbacktrace/backtrace.h b/3rdparty/libbacktrace/backtrace.h
index 14863cf..d0ac38f 100644
--- a/3rdparty/libbacktrace/backtrace.h
+++ b/3rdparty/libbacktrace/backtrace.h
@@ -36,24 +36,8 @@ POSSIBILITY OF SUCH DAMAGE.  */
 #include <stddef.h>
 #include <stdio.h>
 
-/* We want to get a definition for uintptr_t, but we still care about
-   systems that don't have <stdint.h>.  */
-#if defined(__GLIBC__) && __GLIBC__ >= 2
-
-#include <stdint.h>
-
-#elif defined(HAVE_STDINT_H)
-
 #include <stdint.h>
 
-#else
-
-/* Systems that don't have <stdint.h> must provide gstdint.h, e.g.,
-   from GCC_HEADER_STDINT in configure.ac.  */
-#include "gstdint.h"
-
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif