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"

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to