So I raised the target Windows version for Synfig.
os.cpp: In function 'const std::vector<std::__cxx11::basic_string<char> >& synfig::OS::get_user_lang()':
os.cpp:810:11: error: 'GetUserDefaultLocaleName' was not declared in this scope; did you mean 'GetUserDefaultUILanguage'?
810 | if (0 != GetUserDefaultLocaleName(lpLocaleName, LOCALE_NAME_MAX_LENGTH)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
| GetUserDefaultUILanguage
``
Currently build fails with the following error because
GetUserDefaultLocaleName
is available since Windows Vista (WINVER=0x0600). https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getuserdefaultlocalenameSo I raised the target Windows version for Synfig.