Fix: build error with msvc

introduced by rBd2757d149bf2d9ac604da6fb7f4742ee77e68d2d
This commit is contained in:
Ray molenkamp 2018-06-28 09:07:10 -06:00
parent aacd15e8a9
commit dbbea2fc22
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ int main(
/* Unbuffered stdout makes stdout and stderr better synchronised, and helps
* when stepping through code in a debugger (prints are immediately
* visible). */
setbuffer(stdout, NULL, 0);
setvbuf(stdout, NULL, _IONBF, 0);
#ifdef WIN32
/* We delay loading of openmp so we can set the policy here. */