From efe38f2ee25d890108e54bcf55c4a198a5223f81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 28 Jul 2026 23:33:48 +0300 Subject: [PATCH] Add more function stubs for libc++ 23 on Windows These are needed by libc++ when targeting Windows since https://github.com/llvm/llvm-project/commit/8a531c3608c722ad529be448d6ecef06ba107228, which is included in libc++ 23. In a very brief test, it seems like we don't need to actually implement them. --- Source/Windows/Common/WinAPI/Misc.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Windows/Common/WinAPI/Misc.cpp b/Source/Windows/Common/WinAPI/Misc.cpp index 41a625324..9ba98a8f9 100644 --- a/Source/Windows/Common/WinAPI/Misc.cpp +++ b/Source/Windows/Common/WinAPI/Misc.cpp @@ -188,3 +188,11 @@ DLLEXPORT_FUNC(LONG, RegCloseKey, (HKEY hKey)) { DLLEXPORT_FUNC(DWORD, GetActiveProcessorCount, (WORD group)) { UNIMPLEMENTED(); } + +DLLEXPORT_FUNC(UINT, GetACP, ()) { + UNIMPLEMENTED(); +} + +DLLEXPORT_FUNC(int, GetLocaleInfoEx, (LPCWSTR lpLocaleName, LCTYPE LCType, LPWSTR lpLCData, int cchData)) { + UNIMPLEMENTED(); +}