Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2017-12-20 12:23:12 +0300
committerAntonio Vazquez <blendergit@gmail.com>2017-12-20 12:23:12 +0300
commit94a3ee56c7a4d7e76daaed821988741296fb2c8f (patch)
treeeb004a2f278a153a668f2fffde8ce19e3cde600b /source/blender/blenlib/intern/math_bits_inline.c
parentd0ac5d3810a6de56385fb86b1463ed4bd3a4d2de (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.c4
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)