Skip to content
Permalink
Browse files
MDEV-15345 Compilation fails to build my_addr_resolve.c
fix the compilation error.
no support for plugins yet.
  • Loading branch information
vuvova committed Feb 22, 2018
1 parent e4a73ac commit e92cc09
Showing 1 changed file with 7 additions and 0 deletions.
@@ -49,6 +49,13 @@ static const char *strip_path(const char *s)
static bfd *bfdh= 0;
static asymbol **symtable= 0;

#if defined(HAVE_LINK_H) && defined(HAVE_DLOPEN)
#include <link.h>
static ElfW(Addr) offset= 0;
#else
#define offset 0
#endif

/**
finds a file name, a line number, and a function name corresponding to addr.

0 comments on commit e92cc09

Please sign in to comment.