mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
- Fix double linking of snprintf (_snprintf should be used in CRT).
- Add a #undef guard for snprintf in consistency with how it previously was implemented in CRT. svn path=/trunk/; revision=34282
This commit is contained in:
parent
d6d4af57f2
commit
4b6c66431e
2 changed files with 2 additions and 1 deletions
|
@ -489,7 +489,7 @@ char *setlocale(int category, const char *locale)
|
|||
|
||||
MSVCRT_current_lc_all_lcid = lcid;
|
||||
|
||||
snprintf(MSVCRT_current_lc_all,MAX_LOCALE_LENGTH,"%s_%s.%s",
|
||||
_snprintf(MSVCRT_current_lc_all,MAX_LOCALE_LENGTH,"%s_%s.%s",
|
||||
lc.found_language,lc.found_country,lc.found_codepage);
|
||||
|
||||
switch (category) {
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
|
||||
#undef sprintf
|
||||
#undef wsprintf
|
||||
#undef snprintf
|
||||
#undef vsnprintf
|
||||
#undef vprintf
|
||||
#undef vwprintf
|
||||
|
|
Loading…
Reference in a new issue