From 46c1d60e051433ce64f00136a6d48b28a506ea3f Mon Sep 17 00:00:00 2001 From: ColleagueRiley Date: Sat, 24 Aug 2024 11:15:55 -0400 Subject: [PATCH] define WideCharToMultiByte --- src/external/RGFW.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/external/RGFW.h b/src/external/RGFW.h index 367a46fa6..35e782d4a 100644 --- a/src/external/RGFW.h +++ b/src/external/RGFW.h @@ -4999,7 +4999,9 @@ static const struct wl_callback_listener wl_surface_frame_listener = { #define WIN32_LEAN_AND_MEAN #define OEMRESOURCE #include - + + __declspec(dllimport) int __stdcall WideCharToMultiByte( UINT CodePage, DWORD dwFlags, const WCHAR* lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar); + #include #include #include