diff --git a/main.c b/main.c index 0b0bd4f8..fc4425b0 100644 --- a/main.c +++ b/main.c @@ -353,6 +353,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.