From b93006b42a8f9d9f2713705810d1046c174e6af0 Mon Sep 17 00:00:00 2001 From: Justin Boswell Date: Wed, 13 Nov 2019 16:35:21 -0800 Subject: [PATCH] Fix for old linux (#545) --- source/posix/system_info.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/posix/system_info.c b/source/posix/system_info.c index 5ef02bc7a..7fa54c32c 100644 --- a/source/posix/system_info.c +++ b/source/posix/system_info.c @@ -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 */