Skip to content

Commit

Permalink
Disable jit_trace on non-Linux systems
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Apr 4, 2021
1 parent 41eb895 commit ff48a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rt/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ void jit_shutdown(void)

void jit_trace(jit_trace_t **trace, size_t *count)
{
#ifdef HAVE_EXECINFO_H
#if defined HAVE_EXECINFO_H && defined __linux__

void *frames[TRACE_MAX];
char **messages = NULL;
Expand Down

0 comments on commit ff48a59

Please sign in to comment.