diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-03-15 16:10:40 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-03-15 17:03:58 +0000 |
commit | e7760b5897c55b1c533515495f091c70f8dc4c5b (patch) | |
tree | 7ed17b9e3f4918b25932758d6412db20e1a019f2 /source/fitz/memento.c | |
parent | f0aad104bdaad166c3779cba20f54e7e008dfed3 (diff) | |
download | mupdf-e7760b5897c55b1c533515495f091c70f8dc4c5b.tar.xz |
Memento: Avoid warnings building without HAVE_LIBDL
Diffstat (limited to 'source/fitz/memento.c')
-rw-r--r-- | source/fitz/memento.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/fitz/memento.c b/source/fitz/memento.c index 27122488..83522873 100644 --- a/source/fitz/memento.c +++ b/source/fitz/memento.c @@ -327,10 +327,9 @@ extern char **backtrace_symbols(void **, size_t); #define MEMENTO_BACKTRACE_MAX 256 -/* Libbacktrace gubbins */ +/* Libbacktrace gubbins - relies on us having libdl to load the .so */ #ifdef HAVE_LIBDL #include <dlfcn.h> -#endif typedef void (*backtrace_error_callback) (void *data, const char *msg, int errnum); @@ -368,7 +367,6 @@ static void (*print_stack_value)(void *address); static char backtrace_exe[4096]; static void *current_addr; -#ifdef HAVE_LIBDL static void error2_cb(void *data, const char *msg, int errnum) { } |