Allow %n in printf format string for MSVC
This commit is contained in:
parent
cc50b77de0
commit
fa608b5ddf
4
main.c
4
main.c
|
@ -353,6 +353,10 @@ int main(int argc, char * argv [])
|
||||||
char * homedir;
|
char * homedir;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
_set_printf_count_output(1);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set line buffering for file descriptors so we see stdout and stderr
|
* Set line buffering for file descriptors so we see stdout and stderr
|
||||||
* properly interleaved.
|
* properly interleaved.
|
||||||
|
|
Loading…
Reference in New Issue