https://git.reactos.org/?p=reactos.git;a=commitdiff;h=94e0c54c7dfc73aa03a6e…
commit 94e0c54c7dfc73aa03a6e80be37e6a3fd25ec2e7
Author: William Kent <wjk011(a)gmail.com>
AuthorDate: Wed Sep 6 06:04:05 2023 -0400
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Sep 6 12:04:05 2023 +0200
[MSVCRT] Officially implement _localtime32{,_s} (#5652)
required by the guest additions of an app called "UTM", which is a QEMU
fork
---
dll/apisets/api-ms-win-crt-time-l1-1-0.spec | 8 ++++----
dll/win32/msvcrt/msvcrt.spec | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dll/apisets/api-ms-win-crt-time-l1-1-0.spec
b/dll/apisets/api-ms-win-crt-time-l1-1-0.spec
index db0fe40f724..6b571be4c03 100644
--- a/dll/apisets/api-ms-win-crt-time-l1-1-0.spec
+++ b/dll/apisets/api-ms-win-crt-time-l1-1-0.spec
@@ -34,10 +34,10 @@
@ stub _gmtime32_s
@ stdcall _gmtime64() msvcrt._gmtime64
@ stub _gmtime64_s
-@ stub _localtime32
-@ stub _localtime32_s
-@ stdcall _localtime64() msvcrt._localtime64
-@ stub _localtime64_s
+@ cdecl -version=0x600+ _localtime32() msvcrt._localtime32
+@ cdecl -version=0x600+ _localtime32_s() msvcrt._localtime32_s
+@ cdecl _localtime64() msvcrt._localtime64
+@ cdecl -version=0x600+ _localtime64_s() msvcrt._localtime64_s
@ stub _mkgmtime32
@ stdcall _mkgmtime64() msvcrt._mkgmtime64
@ stub _mktime32
diff --git a/dll/win32/msvcrt/msvcrt.spec b/dll/win32/msvcrt/msvcrt.spec
index 0d5ab41eeee..e80a290e2fd 100644
--- a/dll/win32/msvcrt/msvcrt.spec
+++ b/dll/win32/msvcrt/msvcrt.spec
@@ -710,8 +710,8 @@
@ cdecl -arch=x86_64 _local_unwind(ptr ptr)
@ cdecl -arch=i386 _local_unwind2(ptr long)
@ cdecl -arch=i386 -version=0x600+ _local_unwind4(ptr ptr long)
-@ stub -version=0x600+ _localtime32
-@ stub -version=0x600+ _localtime32_s
+@ cdecl -version=0x600+ _localtime32(ptr)
+@ cdecl -version=0x600+ _localtime32_s(ptr ptr)
@ cdecl _localtime64(ptr)
@ cdecl -version=0x600+ _localtime64_s(ptr ptr)
@ cdecl _lock(long)