[PATCH] D13016: Check for GLIBC before including execinfo.h
Dan Albert via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 09:56:12 PDT 2015
danalbert added inline comments.
================
Comment at: source/Host/linux/Host.cpp:17
@@ -16,3 +16,3 @@
#include <fcntl.h>
-#ifndef __ANDROID__
+#if defined(__GLIBC__) && !defined(__ANDROID__)
#include <execinfo.h>
----------------
The `!defined(__ANDROID__)` is redundant. Android is never glibc.
http://reviews.llvm.org/D13016
More information about the llvm-commits
mailing list