| From 5232ec11c74eb49fb220a7e2df80e46ac621e941 Mon Sep 17 00:00:00 2001 |
| From: Angelo Compagnucci <angelo.compagnucci@gmail.com> |
| Date: Sat, 7 Feb 2015 09:49:37 +0100 |
| Subject: [PATCH] Disable backtrace on not supported uclibc |
| |
| Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> |
| Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
| --- |
| libgc/include/gc.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/libgc/include/gc.h b/libgc/include/gc.h |
| index 2265fdb..6485fc0 100644 |
| --- a/libgc/include/gc.h |
| +++ b/libgc/include/gc.h |
| @@ -500,7 +500,7 @@ GC_API GC_PTR GC_malloc_atomic_ignore_off_page GC_PROTO((size_t lb)); |
| #if defined(__linux__) || defined(__GLIBC__) |
| # include <features.h> |
| # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ |
| - && !defined(__ia64__) |
| + && !defined(__ia64__) && !defined(__UCLIBC__) |
| # ifndef GC_HAVE_BUILTIN_BACKTRACE |
| # define GC_HAVE_BUILTIN_BACKTRACE |
| # endif |
| -- |
| 2.1.0 |
| |