From: Yann Collet Date: Mon, 19 Jun 2017 22:27:30 +0000 (-0700) Subject: fixed IA64 compilation error, by @mcmilk X-Git-Tag: v1.3.0~1^2~17^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=695a0a34496f43e2fbd184c247a71bdf9711eb1b;p=thirdparty%2Fzstd.git fixed IA64 compilation error, by @mcmilk --- diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c index bb3eed399..aeaa40c1f 100644 --- a/lib/decompress/zstd_decompress.c +++ b/lib/decompress/zstd_decompress.c @@ -53,7 +53,7 @@ # include "zstd_legacy.h" #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(_M_IA64) /* _mm_prefetch() is not defined for ia64 */ # include /* https://msdn.microsoft.com/fr-fr/library/84szxsww(v=vs.90).aspx */ # define ZSTD_PREFETCH(ptr) _mm_prefetch((const char*)ptr, _MM_HINT_T0) #elif defined(__GNUC__)