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:
Zhiyi Zhang 2019-09-18 23:22:29 +08:00 committed by Alexandre Julliard
parent b1bb4f84e2
commit de6554a312
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetThreadId( HANDLE thread )
/***********************************************************************
* GetThreadLocale (kernelbase.@)
*/
LCID WINAPI DECLSPEC_HOTPATCH GetThreadLocale(void)
LCID WINAPI /* DECLSPEC_HOTPATCH */ GetThreadLocale(void)
{
LCID ret = NtCurrentTeb()->CurrentLocale;
if (!ret) NtCurrentTeb()->CurrentLocale = ret = GetUserDefaultLCID();