diff --git a/eliasfano.c b/eliasfano.c index ebc84a1..385f3ef 100644 --- a/eliasfano.c +++ b/eliasfano.c @@ -115,7 +115,7 @@ #include "eliasfano.c" #endif - #ifdef __AVX2__ +#if defined(__AVX2__) && defined(AVX2_ON) #define VSIZE 256 #define BITPACK bitpack256v #define BITUNPACK bitunpack256v