Commit d605b498 authored by Justin Cormack's avatar Justin Cormack

Only Glibc on Linux has execinfo.h

Fix as done elsewhere so that it builds correctly on Musl libc
as well as Glibc.
Signed-off-by: 's avatarJustin Cormack <justin@specialbusservice.com>
parent 656877e1
......@@ -33,7 +33,7 @@
#endif
#include "io.h"
#if (__linux__ && !__ANDROID__) || __APPLE__
#if (__linux__ && __GLIBC__) || __APPLE__
#define KJ_HAS_BACKTRACE 1
#include <execinfo.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment