diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-06-28 18:07:10 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-06-28 18:07:10 +0300 |
commit | dbbea2fc222cf37d8e969c383db9c47053989e7b (patch) | |
tree | 32588aea3b75a00eee93077f645e010aadb0e9a0 /source/creator | |
parent | aacd15e8a90da6300b8d9e72ed179a8c3622b33a (diff) |
Fix: build error with msvc
introduced by rBd2757d149bf2d9ac604da6fb7f4742ee77e68d2d
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 076d55d3a11..6fd5771434c 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -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. */ |