mirror of https://github.com/vxunderground/VX-API
macro defined _WIN32
This commit is contained in:
parent
eb95919308
commit
fa3809c4f2
|
@ -4,7 +4,7 @@ PTEB GetTeb(VOID)
|
|||
{
|
||||
#if defined(_WIN64)
|
||||
return (PTEB)__readgsqword(0x30);
|
||||
#elif define(_WIN32)
|
||||
#elif defined(_WIN32)
|
||||
return (PTEB)__readfsdword(0x18);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue