build: linux does not always have execinfo.h (#7101)

Closes #7099
This commit is contained in:
Justin M. Keyes
2017-07-30 23:02:41 +02:00
committed by GitHub
parent 5cd68b3900
commit a7538371fe
4 changed files with 18 additions and 4 deletions

View File

@@ -61,7 +61,7 @@
__VA_ARGS__)
#endif
#if defined(__linux__)
#ifdef HAVE_EXECINFO_BACKTRACE
# define LOG_CALLSTACK() log_callstack(__func__, __LINE__)
#endif