[Bf-blender-cvs] [1b7c679] alembic_basic_io: Fix compile error on Windows.

Kévin Dietrich noreply at git.blender.org
Fri May 27 20:32:29 CEST 2016


Commit: 1b7c679f7565de11057f01e10d691f9ad0a91bd1
Author: Kévin Dietrich
Date:   Fri May 27 20:32:04 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB1b7c679f7565de11057f01e10d691f9ad0a91bd1

Fix compile error on Windows.

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

M	source/blender/alembic/intern/abc_exporter.cc

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

diff --git a/source/blender/alembic/intern/abc_exporter.cc b/source/blender/alembic/intern/abc_exporter.cc
index e45e330..07a2aea 100644
--- a/source/blender/alembic/intern/abc_exporter.cc
+++ b/source/blender/alembic/intern/abc_exporter.cc
@@ -43,6 +43,11 @@ extern "C" {
 
 #include "BLI_string.h"
 
+#ifdef WIN32
+/* needed for MSCV because of snprintf from BLI_string */
+#include "BLI_winstuff.h"
+#endif
+
 #include "BKE_anim.h"
 #include "BKE_global.h"
 #include "BKE_idprop.h"




More information about the Bf-blender-cvs mailing list