[Windows/Cycles/Clang] Fix compilation error with clang-cl on windows

This commit is contained in:
Ray molenkamp 2016-10-02 14:01:23 -06:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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);