diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2017-12-20 12:23:12 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2017-12-20 12:23:12 +0300 |
commit | 94a3ee56c7a4d7e76daaed821988741296fb2c8f (patch) | |
tree | eb004a2f278a153a668f2fffde8ce19e3cde600b /source/blender/blenlib/intern/math_bits_inline.c | |
parent | d0ac5d3810a6de56385fb86b1463ed4bd3a4d2de (diff) |
Fix MSVSC2017 error
The last compiler version needs this include
Diffstat (limited to 'source/blender/blenlib/intern/math_bits_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_bits_inline.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_bits_inline.c b/source/blender/blenlib/intern/math_bits_inline.c index d96cf969dae..37fdcd7878a 100644 --- a/source/blender/blenlib/intern/math_bits_inline.c +++ b/source/blender/blenlib/intern/math_bits_inline.c @@ -25,6 +25,10 @@ #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) |