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