Fixing compilation issues on Windows.

This commit is contained in:
Alan Mishchenko 2024-03-18 21:30:46 +09:00
parent c0989e93f0
commit b31ab1960b
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@
#ifndef __ACD_WRAPPER_H_
#define __ACD_WRAPPER_H_
#ifdef _MSC_VER
# include <numeric> // std::iota
# include <intrin.h>
# define __builtin_popcount __popcnt
#endif
#include "misc/util/abc_global.h"
#include "map/if/if.h"