summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evil/evil_dlfcn.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/lib/evil/evil_dlfcn.h b/src/lib/evil/evil_dlfcn.h
index af18ed1ff9..c6d5d1acf2 100644
--- a/src/lib/evil/evil_dlfcn.h
+++ b/src/lib/evil/evil_dlfcn.h
@@ -143,7 +143,9 @@ struct Dl_info
143 * @ingroup Evil_Dlfcn 143 * @ingroup Evil_Dlfcn
144 */ 144 */
145EAPI void *dlopen(const char* path, int mode); 145EAPI void *dlopen(const char* path, int mode);
146 146#ifndef HAVE_DLOPEN
147#define HAVE_DLOPEN 1
148#endif
147/** 149/**
148 * @brief Close a dynamic-link library. 150 * @brief Close a dynamic-link library.
149 * 151 *
@@ -191,7 +193,9 @@ EAPI int dlclose(void* handle);
191 * @ingroup Evil_Dlfcn 193 * @ingroup Evil_Dlfcn
192 */ 194 */
193EAPI void *dlsym(void* handle, const char* symbol); 195EAPI void *dlsym(void* handle, const char* symbol);
194 196#ifndef HAVE_DLSYM
197#define HAVE_DLSYM 1
198#endif
195#ifdef _GNU_SOURCE 199#ifdef _GNU_SOURCE
196 200
197/** 201/**
@@ -218,7 +222,9 @@ EAPI void *dlsym(void* handle, const char* symbol);
218 * @ingroup Evil_Dlfcn 222 * @ingroup Evil_Dlfcn
219 */ 223 */
220EAPI int dladdr (const void *addr, Dl_info *info); 224EAPI int dladdr (const void *addr, Dl_info *info);
221 225#ifndef HAVE_DLADDR
226#define HAVE_DLADDR 1
227#endif
222#endif /* _GNU_SOURCE */ 228#endif /* _GNU_SOURCE */
223 229
224/** 230/**