Enable LZ4 fast decompression loop on MSVC.

This commit is contained in:
Bartosz Taudul 2019-11-05 22:00:13 +01:00
parent ca198e44d3
commit 6015c964a9

View File

@ -318,7 +318,7 @@ static const int dec64table[8] = {0, 0, 0, -1, -4, 1, 2, 3};
#ifndef LZ4_FAST_DEC_LOOP #ifndef LZ4_FAST_DEC_LOOP
# if defined(__i386__) || defined(__x86_64__) # if defined __i386 || defined _M_IX86 || defined __x86_64__ || defined _M_X64
# define LZ4_FAST_DEC_LOOP 1 # define LZ4_FAST_DEC_LOOP 1
# else # else
# define LZ4_FAST_DEC_LOOP 0 # define LZ4_FAST_DEC_LOOP 0