From 97a5acab6c156751a3c3d6cfdc9d86fcaad84ba4 Mon Sep 17 00:00:00 2001 From: powturbo Date: Tue, 13 Jun 2017 09:14:19 +0200 Subject: [PATCH] TurboPFor: Elias fano c/c++ header --- eliasfano.h | 4 ++++ 1 file changed, 4 insertions(+) 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);