mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixes some compiler issues on AIX (
This commit is contained in:
@@ -324,7 +324,7 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
|
||||
for the base program. This is depending on if the compilation is
|
||||
done with PIE or not.
|
||||
*/
|
||||
addr_offset= info.dli_fbase;
|
||||
addr_offset= (void*) info.dli_fbase;
|
||||
#ifndef __PIE__
|
||||
if (strcmp(info.dli_fname, my_progname) == 0 &&
|
||||
addr_resolve((void*) my_addr_resolve, loc) == 0 &&
|
||||
|
Reference in New Issue
Block a user