mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:13:01 +00:00
[SDK][CRT] Add _CRT_NON_CONFORMING_SWPRINTFS support
This allows us to easier port wine changes, where swprintf with a size is used a lot
This commit is contained in:
parent
958f1addcf
commit
f1132155d9
5 changed files with 76 additions and 20 deletions
|
@ -9,13 +9,13 @@ list(APPEND SOURCE
|
|||
heap.c
|
||||
locale.c
|
||||
misc.c
|
||||
printf.c
|
||||
scanf.c
|
||||
signal.c
|
||||
string.c
|
||||
time.c)
|
||||
|
||||
list(APPEND PCH_SKIP_SOURCE
|
||||
printf.c # _CRT_NON_CONFORMING_SWPRINTFS
|
||||
testlist.c)
|
||||
|
||||
add_executable(msvcrt_winetest
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
/* With Visual Studio >= 2005, swprintf() takes an extra parameter unless
|
||||
* the following macro is defined.
|
||||
*/
|
||||
#ifndef _CRT_NON_CONFORMING_SWPRINTFS
|
||||
#define _CRT_NON_CONFORMING_SWPRINTFS
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue