Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2018-06-28 18:07:10 +0300
committerRay Molenkamp <github@lazydodo.com>2018-06-28 18:07:10 +0300
commitdbbea2fc222cf37d8e969c383db9c47053989e7b (patch)
tree32588aea3b75a00eee93077f645e010aadb0e9a0 /source/creator
parentaacd15e8a90da6300b8d9e72ed179a8c3622b33a (diff)
Fix: build error with msvc
introduced by rBd2757d149bf2d9ac604da6fb7f4742ee77e68d2d
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c2
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. */