mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
FreeTDM: Move custom backtrace code into ftdm_backtrace_walk() and helper functions.
Portability fix for uClibc and other (linux) environments that lack execinfo.h. ftdm_backtrace_walk() and related return FTDM_NOTIMPL and print a message if backtraces are not available in the current environment. Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
1 parent
91236c9ad3
commit
61cfafe6c2
6 files changed
+132
-26
No files matched your search
@@ -104,10 +104,6 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in new issue
Block a user