Skip to content

Commit

Permalink
HAVE_SYMBOLIZE not defined when HAVE_LINK_H is
Browse files Browse the repository at this point in the history
  • Loading branch information
wzheng21 committed Mar 12, 2024
1 parent 31429d8 commit 536c060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolize.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#ifndef GLOG_NO_SYMBOLIZE_DETECTION
# ifndef HAVE_SYMBOLIZE
// defined by gcc
# if defined(HAVE_ELF_H) || defined(HAVE_SYS_EXEC_ELF_H)
# if defined(HAVE_ELF_H) || defined(HAVE_SYS_EXEC_ELF_H) || define(HAVE_LINK_H)
# define HAVE_SYMBOLIZE
# elif defined(GLOG_OS_MACOSX) && defined(HAVE_DLADDR)
// Use dladdr to symbolize.
Expand Down

0 comments on commit 536c060

Please sign in to comment.