mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 567937: bustage on x64 build due to jsnativestack.cpp. r=dvander
This commit is contained in:
parent
95eb25d876
commit
4eb311f30c
@ -114,7 +114,7 @@ GetNativeStackBase()
|
||||
void *
|
||||
GetNativeStackBaseImpl()
|
||||
{
|
||||
# if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IX86) && defined(_MSC_VER)
|
||||
/*
|
||||
* offset 0x18 from the FS segment register gives a pointer to
|
||||
* the thread information block for the current thread
|
||||
@ -126,7 +126,7 @@ GetNativeStackBaseImpl()
|
||||
}
|
||||
return static_cast<void*>(pTib->StackBase);
|
||||
|
||||
# elif defined(_WIN64) && defined(_MSC_VER)
|
||||
# elif defined(_M_X64) && defined(_MSC_VER)
|
||||
PNT_TIB64 pTib = reinterpret_cast<PNT_TIB64>(NtCurrentTeb());
|
||||
return reinterpret_cast<void*>(pTib->StackBase);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user