From 4d53d6d0c9684b73f0ce2c07aba5ba1dba73c17b Mon Sep 17 00:00:00 2001 From: MichaelSimkinCortica Date: Tue, 9 Aug 2016 11:58:50 +0300 Subject: [PATCH] MSVC support fixed --- LifeAPI.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LifeAPI.h b/LifeAPI.h index 548afec..f5a2f96 100644 --- a/LifeAPI.h +++ b/LifeAPI.h @@ -19,9 +19,9 @@ #define YES 1 #define NO 0 -#ifdef __MSC_VER +#ifdef _MSC_VER #include - #define __builtin_popcount __popcnt64 + #define __builtin_popcountll __popcnt64 #endif enum CopyType { COPY, OR, XOR, AND }; @@ -1919,4 +1919,4 @@ int IsInside(LifeState* state, LifeBox* box) int IsInside(LifeBox* box) { return IsInside(GlobalState, box); -} \ No newline at end of file +}