diff options
author | cypherpunks <cypherpunks@torproject.org> | 2016-09-01 17:50:38 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-02-03 09:37:39 -0500 |
commit | 27df23abb675ffeb198bf0c1cc85c4baed77a988 (patch) | |
tree | 9fcb0bbb384188f3be58409bcb7fe5f23cbc3a95 /src/common/backtrace.c | |
parent | 0f79fb51e5653cbc82a0066423c833cafb656542 (diff) | |
download | tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.tar.gz tor-27df23abb675ffeb198bf0c1cc85c4baed77a988.zip |
Use the standard OpenBSD preprocessor definition
Diffstat (limited to 'src/common/backtrace.c')
-rw-r--r-- | src/common/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/backtrace.c b/src/common/backtrace.c index 81e04e94eb..61096952d8 100644 --- a/src/common/backtrace.c +++ b/src/common/backtrace.c @@ -76,7 +76,7 @@ clean_backtrace(void **stack, size_t depth, const ucontext_t *ctx) #ifdef PC_FROM_UCONTEXT #if defined(__linux__) const size_t n = 1; -#elif defined(__darwin__) || defined(__APPLE__) || defined(__OpenBSD__) \ +#elif defined(__darwin__) || defined(__APPLE__) || defined(OpenBSD) \ || defined(__FreeBSD__) const size_t n = 2; #else |