Commit de6554a3 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

kernelbase: Comment out DECLSPEC_HOTPATCH for GetThreadLocale.

Triggered by i686-w64-mingw32-gcc 8.3 with -Og. Signed-off-by: 's avatarZhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b1bb4f84
...@@ -253,7 +253,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH GetThreadId( HANDLE thread ) ...@@ -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();
......
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