[Windows/Cycles/Clang] Fix compilation error with clang-cl on windows
This commit is contained in:
parent
3f9b69287d
commit
3ee5ce155c
Notes:
blender-bot
2023-02-14 07:30:28 +01:00
Referenced by issue #49632, Grease pencil in "Edit Strokes" mode: Snap tool does not snap points to active object
|
@ -71,7 +71,7 @@ __forceinline operator int ( ) const { return std::numeric_limits<
|
|||
#define _lzcnt_u64 __lzcnt64
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(__MINGW32__)
|
||||
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__clang__)
|
||||
|
||||
__forceinline int __popcnt(int in) {
|
||||
return _mm_popcnt_u32(in);
|
||||
|
|
Loading…
Reference in New Issue