Fix MSVSC2017 error

The last compiler version needs this include
This commit is contained in:
Antonio Vazquez 2017-12-20 10:23:12 +01:00 committed by Bastien Montagne
parent 6afe655be0
commit 405874bd79
1 changed files with 4 additions and 0 deletions

View File

@ -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 unsigned int highest_order_bit_i(unsigned int n)