From 7e485ea87b5b5d7cbb3704a2a0ec707eb52bcd5d Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 7 Aug 2016 12:22:16 +0300 Subject: [PATCH] msvcp140: Added __crtGetTickCount64(). Signed-off-by: Nikolay Sivov Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcp140/msvcp140.spec | 2 +- dlls/msvcp90/misc.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dlls/msvcp140/msvcp140.spec b/dlls/msvcp140/msvcp140.spec index f4fdc8a1836..588551b0d64 100644 --- a/dlls/msvcp140/msvcp140.spec +++ b/dlls/msvcp140/msvcp140.spec @@ -3768,7 +3768,7 @@ @ stub __crtGetFileInformationByHandleEx @ stub __crtGetLocaleInfoEx @ stub __crtGetSystemTimePreciseAsFileTime -@ stub __crtGetTickCount64 +@ cdecl -ret64 __crtGetTickCount64() MSVCP__crtGetTickCount64 @ stub __crtInitOnceExecuteOnce @ cdecl __crtInitializeCriticalSectionEx(ptr long long) MSVCP__crtInitializeCriticalSectionEx @ stub __crtIsPackagedApp diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c index 71a664e45d1..758e4498520 100644 --- a/dlls/msvcp90/misc.c +++ b/dlls/msvcp90/misc.c @@ -1132,6 +1132,14 @@ HANDLE CDECL MSVCP__crtCreateEventExW( return CreateEventExW(attribs, name, flags, access); } +/********************************************************************* + * __crtGetTickCount64 (MSVCP140.@) + */ +ULONGLONG CDECL MSVCP__crtGetTickCount64(void) +{ + return GetTickCount64(); +} + void init_misc(void *base) { #ifdef __x86_64__