[Bf-blender-cvs] [94959dba1b5] blender2.8: Fix compiler error in Windows

Antonio Vazquez noreply at git.blender.org
Sat Apr 14 16:24:56 CEST 2018


Commit: 94959dba1b53640e2a36cf9b5ca46aaf49c5c74a
Author: Antonio Vazquez
Date:   Sat Apr 14 16:24:06 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB94959dba1b53640e2a36cf9b5ca46aaf49c5c74a

Fix compiler error in Windows

===================================================================

M	intern/clog/clog.c

===================================================================

diff --git a/intern/clog/clog.c b/intern/clog/clog.c
index b26105be351..812915e6f95 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -33,6 +33,9 @@
 #  include <unistd.h>
 #endif
 
+#if defined(_MSC_VER)
+#  include <io.h>
+#endif
 /* Only other dependency (could use regular malloc too). */
 #include "MEM_guardedalloc.h"



More information about the Bf-blender-cvs mailing list