mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:12:56 +00:00
Merge merge 34713 from ros-amd64-bringup branch:
fix NtCurrentTeb() svn path=/trunk/; revision=35639
This commit is contained in:
parent
7876a9fe0d
commit
fac43bb581
1 changed files with 1 additions and 1 deletions
|
@ -4145,7 +4145,7 @@ static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||||
#elif defined (_M_AMD64)
|
#elif defined (_M_AMD64)
|
||||||
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
|
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
|
||||||
{
|
{
|
||||||
return __readgsqword(FIELD_OFFSET(NT_TIB, Self));
|
return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB, Self));
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static __inline__ struct _TEB * NtCurrentTeb(void)
|
static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue