From 2c0943ff623d5deb7a3278357ec40c1a9765cc11 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 19 Mar 2024 09:34:20 +0900 Subject: [PATCH] Fixiing compiler problem on Windows. --- src/map/if/acd/ac_wrapper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/if/acd/ac_wrapper.h b/src/map/if/acd/ac_wrapper.h index a39e9145d..a6e54b0a9 100644 --- a/src/map/if/acd/ac_wrapper.h +++ b/src/map/if/acd/ac_wrapper.h @@ -23,7 +23,8 @@ #ifdef _MSC_VER # include # 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"