diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-01-11 10:23:14 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-01-11 10:23:14 +0000 |
commit | d71d2632b42c7253a2e6d873a78d4fb458036484 (patch) | |
tree | 8fe17642e84124e99c8f21c8fc0029e132a036df /utils | |
parent | ed6c326b1c6643a6f0516cf2e613eb85781ab5b6 (diff) | |
download | netsurf-d71d2632b42c7253a2e6d873a78d4fb458036484.tar.gz netsurf-d71d2632b42c7253a2e6d873a78d4fb458036484.tar.bz2 |
limit monkey backtrace generation to libc where it is available
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/config.h b/utils/config.h index d3ec32628..0227f4177 100644 --- a/utils/config.h +++ b/utils/config.h @@ -151,6 +151,12 @@ char *realpath(const char *path, char *resolved_path); #undef HAVE_REGEX #endif +/* execinfo available for backtrace */ +#if ((defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \ + defined(__APPLE__)) +#define HAVE_EXECINFO +#endif + /* This section toggles build options on and off. * Simply undefine a symbol to turn the relevant feature off. * |