windows.cfg: Added support for _locale_t

This commit is contained in:
orbitcowboy 2018-06-08 14:41:56 +02:00
parent c56033f998
commit d10788164a
2 changed files with 2 additions and 1 deletions

View File

@ -5418,6 +5418,7 @@ HFONT CreateFont(
<podtype name="ULARGE_INTEGER" sign="u" size="8"/>
<podtype name="__time32_t" sign="s" size="4"/>
<podtype name="__time64_t" sign="s" size="8"/>
<podtype name="_locale_t"/>
<define name="afx_msg" value=""/>
<define name="DEBUG_NEW" value="new"/>
<define name="DECLARE_MESSAGE_MAP()" value=""/>

View File

@ -839,7 +839,7 @@ error_t uninitvar__strncpy_s_l(char *strDest, size_t numberOfElements, const cha
// cppcheck-suppress uninitvar
(void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, locale);
// cppcheck-suppress uninitvar
(void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, uninit_locale);
(void)_strncpy_s_l(strDest, numberOfElements, strSource, count, uninit_locale);
// no warning shall be shown for
return _strncpy_s_l(strDest, numberOfElements, strSource, count, locale);