From 6015c964a9a1b660bc3fe3facd5cbdf9c02fba70 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 5 Nov 2019 22:00:13 +0100 Subject: [PATCH] Enable LZ4 fast decompression loop on MSVC. --- common/tracy_lz4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tracy_lz4.cpp b/common/tracy_lz4.cpp index 097080c6..f4d11917 100644 --- a/common/tracy_lz4.cpp +++ b/common/tracy_lz4.cpp @@ -318,7 +318,7 @@ static const int dec64table[8] = {0, 0, 0, -1, -4, 1, 2, 3}; #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 # else # define LZ4_FAST_DEC_LOOP 0