kernel32: Make Sleep hotpatchable

André Hentschel nerv at dawncrow.de
Thu Mar 8 08:00:29 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=30000
---
 dlls/kernel32/sync.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 7d5d45c..acbfab0 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -92,7 +92,7 @@ static inline PLARGE_INTEGER get_nt_timeout( PLARGE_INTEGER pTime, DWORD timeout
 /***********************************************************************
  *              Sleep  (KERNEL32.@)
  */
-VOID WINAPI Sleep( DWORD timeout )
+VOID WINAPI DECLSPEC_HOTPATCH Sleep( DWORD timeout )
 {
     SleepEx( timeout, FALSE );
 }
-- 

Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120308/1377f4c8/attachment.ksh>


More information about the wine-patches mailing list