mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 20:46:05 +00:00
locale: Patched to compile on Windows Phone.
This commit is contained in:
parent
a5c654d5c3
commit
d66b73666d
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ SDL_SYS_GetPreferredLocales(char *buf, size_t buflen)
|
|||
|
||||
/* !!! FIXME: do we not have GetUserPreferredUILanguages on WinPhone or UWP? */
|
||||
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
|
||||
ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraylen(wbuffer));
|
||||
ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraysize(wbuffer));
|
||||
# else
|
||||
ret = GetSystemDefaultLocaleName(wbuffer, SDL_arraysize(wbuffer));
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue