diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-20 11:45:23 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-22 11:39:54 +0100 |
commit | 204cb85aab3e6326e9f7a51c478efd6fad44801a (patch) | |
tree | b11ca13de8214fa3274d66e363a69055b6a5ef50 /include | |
parent | 906ce0962d12731eafed6f5ad64c5d50aeac8ce4 (diff) | |
download | mariadb-git-204cb85aab3e6326e9f7a51c478efd6fad44801a.tar.gz |
Fix compilation without dlopen
Diffstat (limited to 'include')
-rw-r--r-- | include/my_global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_global.h b/include/my_global.h index ab7e485a1a0..194e1039c60 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -1376,7 +1376,7 @@ static inline char *dlerror(void) #ifndef HAVE_DLADDR #define dladdr(A, B) 0 /* Dummy definition in case we're missing dladdr() */ -typedef int Dl_info; +typedef struct { const char *dli_fname, dli_fbase; } Dl_info; #endif #else #define dlerror() "No support for dynamic loading (static build?)" @@ -1385,7 +1385,7 @@ typedef int Dl_info; #define dlclose(A) 0 #define dladdr(A, B) 0 /* Dummy definition in case we're missing dladdr() */ -typedef int Dl_info; +typedef struct { const char *dli_fname, dli_fbase; } Dl_info; #endif /* |