mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-11 19:10:55 +00:00
elfhacks: d_un.d_ptr is relative on riscv glibc
This commit is contained in:
parent
d102604291
commit
d0894fff38
@ -29,7 +29,7 @@
|
||||
* \{
|
||||
*/
|
||||
|
||||
#ifdef __GLIBC__
|
||||
#if defined(__GLIBC__) && !defined(__riscv)
|
||||
# define ABS_ADDR(obj, ptr) (ptr)
|
||||
#else
|
||||
# define ABS_ADDR(obj, ptr) ((obj->addr) + (ptr))
|
||||
|
Loading…
Reference in New Issue
Block a user