macro defined _WIN32

This commit is contained in:
Josh Abraham 2022-11-02 22:01:28 -04:00 committed by GitHub
parent eb95919308
commit fa3809c4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}