feat(symbolize): Symbolize detection support HAVE_LINK_H
link.h is usually provided by glibc. Current implementation of symbolize can work on link.h. Enhance the symbolize detection logic to support link.h, AKA. define HAVE_SYMBOLIZE if defined(HAVE_LINK_H).
This commit is contained in:
parent
570c7e4e1d
commit
1169e93d2d
@ -82,6 +82,9 @@
|
||||
// defined by gcc
|
||||
# if defined(HAVE_ELF_H) || defined(HAVE_SYS_EXEC_ELF_H)
|
||||
# define HAVE_SYMBOLIZE
|
||||
// provided by glibc
|
||||
# elif defined(HAVE_LINK_H)
|
||||
# define HAVE_SYMBOLIZE
|
||||
# elif defined(GLOG_OS_MACOSX) && defined(HAVE_DLADDR)
|
||||
// Use dladdr to symbolize.
|
||||
# define HAVE_SYMBOLIZE
|
||||
|
||||
Loading…
Reference in New Issue
Block a user