kernelbase: Comment out DECLSPEC_HOTPATCH for GetThreadLocale.
Triggered by i686-w64-mingw32-gcc 8.3 with -Og. Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1bb4f84e2
commit
de6554a312
|
@ -253,7 +253,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetThreadId( HANDLE thread )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetThreadLocale (kernelbase.@)
|
* GetThreadLocale (kernelbase.@)
|
||||||
*/
|
*/
|
||||||
LCID WINAPI DECLSPEC_HOTPATCH GetThreadLocale(void)
|
LCID WINAPI /* DECLSPEC_HOTPATCH */ GetThreadLocale(void)
|
||||||
{
|
{
|
||||||
LCID ret = NtCurrentTeb()->CurrentLocale;
|
LCID ret = NtCurrentTeb()->CurrentLocale;
|
||||||
if (!ret) NtCurrentTeb()->CurrentLocale = ret = GetUserDefaultLCID();
|
if (!ret) NtCurrentTeb()->CurrentLocale = ret = GetUserDefaultLCID();
|
||||||
|
|
Loading…
Reference in New Issue