Daniel Lehman : msvcr120: Add __crtSleep.
Alexandre Julliard
julliard at winehq.org
Mon Apr 3 14:01:48 CDT 2017
Module: wine
Branch: master
Commit: b5465d9605c2195bfdc0072f2116932d03cf5878
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5465d9605c2195bfdc0072f2116932d03cf5878
Author: Daniel Lehman <dlehman at esri.com>
Date: Fri Mar 31 15:20:32 2017 -0700
msvcr120: Add __crtSleep.
Signed-off-by: Daniel Lehman <dlehman at esri.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcr120/msvcr120.spec | 2 +-
dlls/msvcr120_app/msvcr120_app.spec | 2 +-
dlls/msvcrt/misc.c | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index 3ae8098..b58ad8b 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -919,7 +919,7 @@
@ stub -arch=i386,win64 __crtSetThreadStackGuarantee
@ cdecl __crtSetUnhandledExceptionFilter(ptr) MSVCR110__crtSetUnhandledExceptionFilter
@ cdecl -arch=i386,win64 __crtTerminateProcess(long) MSVCR110__crtTerminateProcess
-@ stub __crtSleep
+@ cdecl __crtSleep(long) MSVCRT__crtSleep
@ cdecl -arch=i386,win64 __crtUnhandledException(ptr) MSVCRT__crtUnhandledException
@ cdecl __daylight() MSVCRT___p__daylight
@ cdecl __dllonexit(ptr ptr ptr)
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index 6d48f74..0b896aa 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -895,7 +895,7 @@
@ stub __crtIsPackagedApp
@ cdecl __crtLCMapStringA(long long str long ptr long long long) msvcr120.__crtLCMapStringA
@ cdecl __crtLCMapStringW(long long wstr long ptr long long long) msvcr120.__crtLCMapStringW
-@ stub __crtSleep
+@ cdecl __crtSleep(long) msvcr120.__crtSleep
@ stub __crtWaitForWinRTThreadExit
@ cdecl __daylight() msvcr120.__daylight
@ cdecl __dllonexit(ptr ptr ptr) msvcr120.__dllonexit
diff --git a/dlls/msvcrt/misc.c b/dlls/msvcrt/misc.c
index 767972f..9e38364 100644
--- a/dlls/msvcrt/misc.c
+++ b/dlls/msvcrt/misc.c
@@ -542,3 +542,12 @@ LONG CDECL MSVCRT__crtUnhandledException(EXCEPTION_POINTERS *ep)
SetUnhandledExceptionFilter(NULL);
return UnhandledExceptionFilter(ep);
}
+
+/*********************************************************************
+ * __crtSleep (MSVCR120.@)
+ */
+void CDECL MSVCRT__crtSleep(DWORD timeout)
+{
+ TRACE("(%u)\n", timeout);
+ Sleep(timeout);
+}
More information about the wine-cvs
mailing list