Fix backtrace ifdef. Failed on Linux systems that used uclibc. It is actually only available for glibc.

This commit is contained in:
Sacha committed 2014-11-18 16:17:56 +10:00
1 parent 62f7b51536
commit b2ff5bc9f3
1 file changed
+1 -3
+1 -3
View File
@@ -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 <execinfo.h>
#include <unistd.h>