Fixiing compiler problem on Windows.

This commit is contained in:
Alan Mishchenko 2024-03-19 09:34:20 +09:00
parent 5d3d77fcfe
commit 2c0943ff62
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@
#ifdef _MSC_VER
# include <intrin.h>
# define __builtin_popcount __popcnt
# define __builtin_popcountl __popcnt64
//# define __builtin_popcountl __popcnt64 // the compiler does not find __popcnt64
# define __builtin_popcountl __popcnt
#endif
#include "misc/util/abc_global.h"