=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: kernel32: Make Sleep hotpatchable.

Alexandre Julliard julliard at winehq.org
Thu Mar 8 14:26:24 CST 2012


Module: wine
Branch: master
Commit: 00efe754f5af37a9a2a16e550197121fbdfed7dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=00efe754f5af37a9a2a16e550197121fbdfed7dd

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Mar  8 15:00:29 2012 +0100

kernel32: Make Sleep hotpatchable.

---

 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 );
 }




More information about the wine-cvs mailing list