mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Only expose clean_backtrace() if we'll implement it
Fixes windows compilation; bug not in any released Tor.
Bugfix on cc9e86db
.
This commit is contained in:
parent
438a03ef7c
commit
211b8cc318
@ -11,8 +11,11 @@ int configure_backtrace_handler(const char *tor_version);
|
||||
void clean_up_backtrace_handler(void);
|
||||
|
||||
#ifdef EXPOSE_CLEAN_BACKTRACE
|
||||
#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \
|
||||
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION)
|
||||
void clean_backtrace(void **stack, int depth, const ucontext_t *ctx);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user