Fix for mac

This commit is contained in:
Oleksandr Byelkin 2020-08-02 17:28:20 +02:00
parent 6e09e7c14b
commit db2a217334

View File

@ -42,13 +42,16 @@ extern char *__bss_start;
#define PTR_SANE(p) (p)
#endif /* __linux */
#ifdef __linux__
void my_init_stacktrace()
{
#ifdef __linux__
heap_start = (char*) &__bss_start;
#endif /* __linux */
}
#ifdef __linux__
static void print_buffer(char *buffer, size_t count)
{
const char s[]= " ";