Skip to content

Commit

Permalink
define WideCharToMultiByte
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Aug 24, 2024
1 parent 5dec091 commit 46c1d60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/external/RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 46c1d60

Please sign in to comment.