[Bf-blender-cvs] [87a9b6ac063] master: Fix compiler error in Windows

Antonio Vazquez noreply at git.blender.org
Sun Apr 15 09:56:47 CEST 2018


Commit: 87a9b6ac06367622c10fde69c1fbbc6a67dbe5c7
Author: Antonio Vazquez
Date:   Sat Apr 14 16:24:06 2018 +0200
Branches: master
https://developer.blender.org/rB87a9b6ac06367622c10fde69c1fbbc6a67dbe5c7

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