diff --git a/eliasfano.h b/eliasfano.h index 2132a23..6f8b769 100644 --- a/eliasfano.h +++ b/eliasfano.h @@ -25,7 +25,11 @@ #ifdef __cplusplus extern "C" { #endif +#if defined(_MSC_VER) && _MSC_VER < 1600 +#include "vs/stdint.h" +#else #include +#endif // compress/decompress integer array with n values to the buffer out. Return value = end of output/input buffer unsigned char *efanoenc32( unsigned *__restrict in, unsigned n, unsigned char *__restrict out, unsigned start);