From: joe2018Outlookcom Date: Wed, 31 Jul 2019 05:46:02 +0000 (+0800) Subject: Fix warning C4164 in MSVC. X-Git-Tag: OpenSSL_1_1_1d~83 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ca33a43fe21ace99a7e689f40a90e3ad42e794a0;p=oweals%2Fopenssl.git Fix warning C4164 in MSVC. Fix: crypto\whrlpool\wp_block.c(90) : warning C4164: '_rotl64' : intrinsic function not declared. Fixes #9487 Reviewed-by: Paul Dale Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9488) (cherry picked from commit 0c789f59f117ccbb30ffc621216ba776117c7c61) --- diff --git a/crypto/whrlpool/wp_block.c b/crypto/whrlpool/wp_block.c index 0cc92a3b01..f4f994bc47 100644 --- a/crypto/whrlpool/wp_block.c +++ b/crypto/whrlpool/wp_block.c @@ -87,6 +87,7 @@ typedef unsigned long long u64; #ifndef PEDANTIC # if defined(_MSC_VER) # if defined(_WIN64) /* applies to both IA-64 and AMD64 */ +# include # pragma intrinsic(_rotl64) # define ROTATE(a,n) _rotl64((a),n) # endif