Allow %n in printf format string for MSVC

This commit is contained in:
Marius Greuel committed 2021-12-18 23:20:37 +01:00
1 parent d007a46e31
commit b228b56355
1 file changed
+4
+4
View File
@@ -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.