Commit 6ba6aac5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winnt.h: Add __readgsqword declaration.

pragma intrinsic is meant only as an addition to C declaration. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 944ef25f
......@@ -2667,6 +2667,7 @@ static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void)
return teb;
}
#elif defined(__x86_64__) && defined(_MSC_VER)
unsigned __int64 __readgsqword(unsigned long);
#pragma intrinsic(__readgsqword)
static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment