Skip to content

Commit

Permalink
Fix for old linux (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Boswell authored Nov 14, 2019
1 parent e069ac2 commit b93006b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/posix/system_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,20 @@ void aws_backtrace_print(FILE *fp, void *call_site_data) {
}

size_t aws_backtrace(void **frames, size_t size) {
(void)frames;
(void)size;
return 0;
}

char **aws_backtrace_symbols(void *const *frames, size_t stack_depth) {
(void)frames;
(void)stack_depth;
return NULL;
}

char **aws_backtrace_addr2line(void *const *stack_frames, size_t stack_depth) {
(void)stack_frames;
(void)stack_depth;
return NULL;
}
#endif /* AWS_HAVE_EXECINFO */
Expand Down

0 comments on commit b93006b

Please sign in to comment.