Zhiyi Zhang : kernelbase: Comment out DECLSPEC_HOTPATCH for GetThreadLocale.

Alexandre Julliard julliard at winehq.org
Wed Sep 18 16:11:08 CDT 2019


Module: wine
Branch: master
Commit: de6554a312a731db7d85440ce4eab44eeb53962a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=de6554a312a731db7d85440ce4eab44eeb53962a

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Wed Sep 18 23:22:29 2019 +0800

kernelbase: Comment out DECLSPEC_HOTPATCH for GetThreadLocale.

Triggered by i686-w64-mingw32-gcc 8.3 with -Og.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernelbase/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/kernelbase/thread.c b/dlls/kernelbase/thread.c
index 30e9a2e09b..f633dfa3de 100644
--- a/dlls/kernelbase/thread.c
+++ b/dlls/kernelbase/thread.c
@@ -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();




More information about the wine-cvs mailing list