diff options
author | David Carlier <devnexen@gmail.com> | 2018-11-24 15:49:45 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2018-11-25 07:21:56 +0000 |
commit | 69ca9078684f66366c461092bdb46172c27b845d (patch) | |
tree | 3a8fab1d428bb3a3fddab4d86e79096513f9011f /src/config.h | |
parent | 0c12ebf6e79b3665e0dfa313f27492446b477758 (diff) | |
download | redis-69ca9078684f66366c461092bdb46172c27b845d.tar.gz |
Backtrace/register dump on BSD.
FreeBSD/DragonFlyBSD does have backtrace only it does not
belong to libc.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index ee3ad508e..0a74a7609 100644 --- a/src/config.h +++ b/src/config.h @@ -62,7 +62,8 @@ #endif /* Test for backtrace() */ -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \ + defined(__FreeBSD__) || defined(__DragonFly__) #define HAVE_BACKTRACE 1 #endif |