提交 ac5d0856 编写于 作者: R Rich Felker

dladdr should be available under _BSD_SOURCE as well as _GNU_SOURCE

上级 400c5e5c
......@@ -24,7 +24,7 @@ char *dlerror(void);
void *dlopen(const char *, int);
void *dlsym(void *__restrict, const char *__restrict);
#ifdef _GNU_SOURCE
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
const char *dli_fname;
void *dli_fbase;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册