From a221a313ae689f1646e1a98969edf41bff4982e2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 20 Nov 2020 08:13:11 -0800 Subject: [PATCH] fix compilation with uClibc-ng (#8054) backtrace can be compile time disabled. --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index b9c68f38b..649b51d4a 100644 --- a/src/config.h +++ b/src/config.h @@ -65,7 +65,7 @@ /* Test for backtrace() */ #if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\ - || defined(__DragonFly__) + || defined(__DragonFly__) || (defined(__UCLIBC__) && defined(__UCLIBC_HAS_BACKTRACE__)) #define HAVE_BACKTRACE 1 #endif