From cab123330f38219debe7d355cdedb0f0ca5581a3 Mon Sep 17 00:00:00 2001 From: Teoh Han Hui Date: Thu, 12 Jan 2017 14:55:00 +0800 Subject: [PATCH] Fix build with musl, backtrace is glibc specific --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 6d7553e..f71cd84 100644 --- a/src/config.h +++ b/src/config.h @@ -57,7 +57,7 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || defined(__linux__) +#if defined(__APPLE__) || defined(__GLIBC__) #define HAVE_BACKTRACE 1 #endif