mirror of https://github.com/YosysHQ/abc.git
Fixiing compiler problem on Windows.
This commit is contained in:
parent
5d3d77fcfe
commit
2c0943ff62
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue