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:
-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. */