mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-01 16:31:16 -03:00
detect and provide fallback for backtrace_symbols_fd
Closes #2615 to fix includes on FreeBSD and provide fallback on Cygwin.
This commit is contained in:
@@ -1228,8 +1228,8 @@ int backtrace(void **buffer, int size)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BACKTRACE_SYMBOLS
|
||||
char ** backtrace_symbols(void *const *buffer, int size)
|
||||
#ifndef HAVE_BACKTRACE_SYMBOLS_FD
|
||||
char ** backtrace_symbols_fd(void *const *buffer, int size, int fd)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user