mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
minor fix for Linux 64 bit
This commit is contained in:
parent
4409877e19
commit
c04c9ac94f
4
redis.c
4
redis.c
@ -6598,8 +6598,8 @@ static void *getMcontextEip(ucontext_t *uc) {
|
||||
#else
|
||||
return (void*) uc->uc_mcontext->__ss.__eip;
|
||||
#endif
|
||||
#elif defined(__i386__) || defined(__X86_64__) /* Linux x86 */
|
||||
return (void*) uc->uc_mcontext.gregs[REG_EIP];
|
||||
#elif defined(__i386__) || defined(__X86_64__) || defined(__x86_64__)
|
||||
return (void*) uc->uc_mcontext.gregs[REG_EIP]; /* Linux 32/64 bit */
|
||||
#elif defined(__ia64__) /* Linux IA64 */
|
||||
return (void*) uc->uc_mcontext.sc_ip;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user