mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
(rcore_desktop_rgfw.c) fix errors when compiling with mingw (#4282)
* (rcore_desktop_rgfw.c) fix errors when compiling with mingw * define WideCharToMultiByte
This commit is contained in:
4
src/external/RGFW.h
vendored
4
src/external/RGFW.h
vendored
@ -4999,7 +4999,9 @@ static const struct wl_callback_listener wl_surface_frame_listener = {
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define OEMRESOURCE
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
__declspec(dllimport) int __stdcall WideCharToMultiByte( UINT CodePage, DWORD dwFlags, const WCHAR* lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar);
|
||||
|
||||
#include <processthreadsapi.h>
|
||||
#include <wchar.h>
|
||||
#include <locale.h>
|
||||
|
||||
Reference in New Issue
Block a user