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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user