[Bf-blender-cvs] [dbbea2fc222] blender2.8: Fix: build error with msvc
Ray Molenkamp
noreply at git.blender.org
Thu Jun 28 17:07:19 CEST 2018
Commit: dbbea2fc222cf37d8e969c383db9c47053989e7b
Author: Ray Molenkamp
Date: Thu Jun 28 09:07:10 2018 -0600
Branches: blender2.8
https://developer.blender.org/rBdbbea2fc222cf37d8e969c383db9c47053989e7b
Fix: build error with msvc
introduced by rBd2757d149bf2d9ac604da6fb7f4742ee77e68d2d
===================================================================
M source/creator/creator.c
===================================================================
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. */
More information about the Bf-blender-cvs
mailing list