mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
adapt libbacktrace to musl
Signed-off-by: xhe <xw897002528@gmail.com>
This commit is contained in:
parent
e23aa01d51
commit
4e771b2da0
@ -1,4 +1,8 @@
|
||||
#include <limits.h>
|
||||
#if defined(__linux__) && !defined(__GLIBC__) && !defined(__WORDSIZE)
|
||||
// include __WORDSIZE headers for musl
|
||||
# include <bits/reg.h>
|
||||
#endif
|
||||
#if __WORDSIZE == 64
|
||||
# define BACKTRACE_ELF_SIZE 64
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user