mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
backtrace: Add a missing check for HAVE_PTHREAD_H before using mutexes
Fixes bug 31614; bugfix on 0.2.5.2-alpha.
This commit is contained in:
parent
6b97a5a843
commit
ab7bfdf404
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@
|
|||
#include "lib/err/torerr.h"
|
||||
|
||||
#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \
|
||||
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION)
|
||||
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION) && \
|
||||
defined(HAVE_PTHREAD_H)
|
||||
#define USE_BACKTRACE
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue