aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fallback.cpp
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-19 19:27:22 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-19 19:27:22 -0700
commit7c243694549cc1d6776873c8a97c99fc5889b68d (patch)
tree229ac4852acce031fe2b0b36ab27250e8d6bd514 /src/fallback.cpp
parent46be5ac468db923bd3d19c55638b723aa760cd4e (diff)
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
Diffstat (limited to 'src/fallback.cpp')
-rw-r--r--src/fallback.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/fallback.cpp b/src/fallback.cpp
index 96fa417b..dc5bcce2 100644
--- a/src/fallback.cpp
+++ b/src/fallback.cpp
@@ -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