[PATCH] D13016: Check for GLIBC before including execinfo.h
Vasileios Kalintiris via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 02:55:01 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248256: Check for GLIBC before including execinfo.h (authored by vkalintiris).
Changed prior to commit:
http://reviews.llvm.org/D13016?vs=35241&id=35353#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13016
Files:
lldb/trunk/source/Host/linux/Host.cpp
Index: lldb/trunk/source/Host/linux/Host.cpp
===================================================================
--- lldb/trunk/source/Host/linux/Host.cpp
+++ lldb/trunk/source/Host/linux/Host.cpp
@@ -14,7 +14,7 @@
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
-#ifndef __ANDROID__
+#if defined(__GLIBC__)
#include <execinfo.h>
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13016.35353.patch
Type: text/x-patch
Size: 357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150922/4927438e/attachment.bin>
More information about the llvm-commits
mailing list