build: Fix build on systems that have no backtrace or execinfo
Fixes #932
This commit is contained in:
parent
4b451fd1d3
commit
61ce88ba9b
@ -94,7 +94,9 @@
|
||||
|
||||
}
|
||||
|
||||
#elif defined(HEX_HAS_EXECINFO) && __has_include(BACKTRACE_HEADER)
|
||||
#elif defined(HEX_HAS_EXECINFO)
|
||||
|
||||
#if __has_include(BACKTRACE_HEADER)
|
||||
|
||||
#include BACKTRACE_HEADER
|
||||
#include <llvm/Demangle/Demangle.h>
|
||||
@ -121,8 +123,11 @@
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
#elif defined(HEX_HAS_BACKTRACE) && __has_include(BACKTRACE_HEADER)
|
||||
#elif defined(HEX_HAS_BACKTRACE)
|
||||
|
||||
#if __has_include(BACKTRACE_HEADER)
|
||||
|
||||
#include BACKTRACE_HEADER
|
||||
#include <llvm/Demangle/Demangle.h>
|
||||
@ -164,6 +169,8 @@
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
namespace hex::stacktrace {
|
||||
|
Loading…
x
Reference in New Issue
Block a user