Fix MSVSC2017 error
authorAntonio Vazquez <blendergit@gmail.com>
Wed, 20 Dec 2017 09:23:12 +0000 (10:23 +0100)
committerAntonio Vazquez <blendergit@gmail.com>
Wed, 20 Dec 2017 09:23:12 +0000 (10:23 +0100)
The last compiler version needs this include

source/blender/blenlib/intern/math_bits_inline.c

index d96cf969dae6c933e00d56a60cd979fc39a8611b..37fdcd7878a5f45f6f77946ad15078cfcb44436d 100644 (file)
 #ifndef __MATH_BITS_INLINE_C__
 #define __MATH_BITS_INLINE_C__
 
+#ifdef _MSC_VER
+#  include <intrin.h>
+#endif
+
 #include "BLI_math_bits.h"
 
 MINLINE int bitscan_forward_i(int a)