[Bf-blender-cvs] [507113543a6] greasepencil-object: Fix compiler error in Windows

Antonio Vazquez noreply at git.blender.org
Sat Apr 14 16:25:50 CEST 2018


Commit: 507113543a611914fe618d7e45a1713b94c31cca
Author: Antonio Vazquez
Date:   Sat Apr 14 16:24:06 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB507113543a611914fe618d7e45a1713b94c31cca

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