From b2ff5bc9f3e5d42313d1465fff28f5e21851180f Mon Sep 17 00:00:00 2001 From: Sacha Date: Tue, 18 Nov 2014 16:17:56 +1000 Subject: [PATCH] Fix backtrace ifdef. Failed on Linux systems that used uclibc. It is actually only available for glibc. --- base/backtrace.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base/backtrace.cpp b/base/backtrace.cpp index 08cfc4ddd6..6c22f209ff 100644 --- a/base/backtrace.cpp +++ b/base/backtrace.cpp @@ -1,8 +1,6 @@ #include "base/backtrace.h" -// The mac check doesn't seem to work right. -#if (!defined(ANDROID) && defined(__linux__)) || (defined(__APPLE__) && (defined(_M_IX86) || defined(_M_X64))) - +#if defined(__GLIBC__) && !defined(__UCLIBC__) #include #include