diff --git a/src/hashmap.h b/src/hashmap.h index e823b35..df59fd4 100644 --- a/src/hashmap.h +++ b/src/hashmap.h @@ -10,10 +10,9 @@ #include #include -#ifdef __GLIBC__ -#include -#else -#include +#include +#ifndef __WORDSIZE +#define __WORDSIZE (__SIZEOF_LONG__ * 8) #endif static inline size_t hash_bits(size_t h, int bits)