Skip to content

Commit

Permalink
Merge pull request #609 from xhebox/master
Browse files Browse the repository at this point in the history
adapt libbacktrace to musl
  • Loading branch information
wolfpld authored Sep 10, 2023
2 parents e23aa01 + 4e771b2 commit 08a36e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/libbacktrace/config.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 08a36e8

Please sign in to comment.