From 9756eb66349f8a96fffd788894f198041847c727 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 12 Sep 2024 18:19:13 +0200 Subject: Fix check for __builtin_popcountg() --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 3fe6967..dc00391 100644 --- a/src/main.c +++ b/src/main.c @@ -55,7 +55,7 @@ static void eqnfree(eqn_t *); static int popcnt(uint64_t n) { -#if !__has_builtin(__builtin_popcountg) +#if __has_builtin(__builtin_popcountg) return __builtin_popcountg(n); #else uint64_t c; -- cgit v1.2.3