From: EasySec Date: Sat, 30 Dec 2017 17:48:23 +0000 (+0100) Subject: fix compile error 'intrinsic function not declared' X-Git-Tag: OpenSSL_1_1_1-pre1~212 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d828b53978f4cbe24e190795fef86188b5116eb;p=oweals%2Fopenssl.git fix compile error 'intrinsic function not declared' Reviewed-by: Richard Levitte Reviewed-by: Andy Polyakov Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5000) --- diff --git a/crypto/modes/modes_lcl.h b/crypto/modes/modes_lcl.h index 7a1603bf90..ec3c367c03 100644 --- a/crypto/modes/modes_lcl.h +++ b/crypto/modes/modes_lcl.h @@ -73,6 +73,7 @@ typedef unsigned char u8; # endif # elif defined(_MSC_VER) # if _MSC_VER>=1300 +# include # pragma intrinsic(_byteswap_uint64,_byteswap_ulong) # define BSWAP8(x) _byteswap_uint64((u64)(x)) # define BSWAP4(x) _byteswap_ulong((u32)(x))