Revert "Removed "#ifdef WIN32" block around label embedding."

This reverts commit c0da1f0e94.
This commit is contained in:
dolphin6k 2022-02-11 08:52:37 +09:00
parent c0da1f0e94
commit 7305768d38
2 changed files with 38 additions and 4 deletions

View file

@ -63,7 +63,7 @@ static void print_composemap(osk_composenode * composemap, char *sp);
#ifdef WIN32
#include <windows.h>
#define mbstowcs(wtok, tok, size) MultiByteToWideChar(CP_UTF8,0,tok,-1,wtok,size)
#define mbstowcs(wtok, tok, size) MultiByteToWideChar(CP_UTF8,MB_COMPOSITE,tok,-1,wtok,size)
#endif
struct osk_keyboard *osk_create(char * layout_name, SDL_Surface * canvas,