mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-27 20:31:17 -03:00
fix building on Cygwin
Cygwin still doesn't support any of the backtrace functions. Also, remove a spurious newline from a debug message. Fixes #2993
This commit is contained in:
@@ -332,14 +332,6 @@ int killpg(int pgr, int sig) {
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BACKTRACE
|
||||
int backtrace(void **buffer, int size) { return 0; }
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BACKTRACE_SYMBOLS_FD
|
||||
char **backtrace_symbols_fd(void *const *buffer, int size, int fd) { return 0; }
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_NAN
|
||||
double nan(char *tagp) { return 0.0 / 0.0; }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user