Allow %n in printf format string for MSVC
This commit is contained in:
parent
d007a46e31
commit
b228b56355
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