diff options
author | joe2018Outlookcom <joe_2018@Outlook.com> | 2019-07-31 13:46:02 +0800 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-07-31 17:25:33 +0100 |
commit | 0c789f59f117ccbb30ffc621216ba776117c7c61 (patch) | |
tree | bf2522b1d8008b7f4eeb6c570de260467aa62c84 /crypto/whrlpool | |
parent | 7408f6759f1b0100438ca236ea8f549454aaf2d5 (diff) | |
download | openssl-0c789f59f117ccbb30ffc621216ba776117c7c61.tar.gz |
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 <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9488)
Diffstat (limited to 'crypto/whrlpool')
-rw-r--r-- | crypto/whrlpool/wp_block.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/whrlpool/wp_block.c b/crypto/whrlpool/wp_block.c index 14327f16de..574ac124d4 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 <stdlib.h> # pragma intrinsic(_rotl64) # define ROTATE(a,n) _rotl64((a),n) # endif |