mirror of https://github.com/YosysHQ/abc.git
Fixing compilation issues on Windows.
This commit is contained in:
parent
c0989e93f0
commit
b31ab1960b
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue