[Bf-blender-cvs] [9f0978ace69] greasepencil-object: Provisional hack for fixing MSVC2017 error

Antonio Vazquez noreply at git.blender.org
Tue Dec 19 19:42:13 CET 2017


Commit: 9f0978ace69377a01dd23b1e7eb3a9afb74c1757
Author: Antonio Vazquez
Date:   Tue Dec 19 19:15:58 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB9f0978ace69377a01dd23b1e7eb3a9afb74c1757

Provisional hack for fixing MSVC2017 error

This fix will be replaced by final Sergey solution.

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

M	source/blender/blenlib/intern/math_bits_inline.c

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

diff --git a/source/blender/blenlib/intern/math_bits_inline.c b/source/blender/blenlib/intern/math_bits_inline.c
index d96cf969dae..c9ca5fd06e7 100644
--- a/source/blender/blenlib/intern/math_bits_inline.c
+++ b/source/blender/blenlib/intern/math_bits_inline.c
@@ -26,6 +26,7 @@
 #define __MATH_BITS_INLINE_C__
 
 #include "BLI_math_bits.h"
+#include <intrin.h>
 
 MINLINE int bitscan_forward_i(int a)
 {



More information about the Bf-blender-cvs mailing list