1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

alternative method of resolving addresses for safemalloc and crash handler.

don't link with libbfd, exec addr2line, if it's available at run time
This commit is contained in:
Sergei Golubchik
2012-03-13 13:34:24 +01:00
parent 1cbc3790d3
commit 00f2e3139f
2 changed files with 71 additions and 1 deletions

View File

@@ -56,7 +56,11 @@ void my_set_exception_pointers(EXCEPTION_POINTERS *ep);
#endif
#endif
#ifdef HAVE_BFD_H
#ifndef _WIN32
#define MY_ADDR_RESOLVE_FORK
#endif
#if defined(HAVE_BFD_H) || defined(MY_ADDR_RESOLVE_FORK)
#define HAVE_MY_ADDR_RESOLVE 1
#endif