diff options
author | EasySec <easy.sec@free.fr> | 2017-12-30 18:48:23 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-01-08 12:51:45 -0500 |
commit | 9d828b53978f4cbe24e190795fef86188b5116eb (patch) | |
tree | 5528429cdd23d282f5a7676912eaf147bffadb8a /crypto | |
parent | bebef673607b9701bc21a0f7b7dbf92434af2588 (diff) |
fix compile error 'intrinsic function not declared'
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5000)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/modes/modes_lcl.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdlib.h> # pragma intrinsic(_byteswap_uint64,_byteswap_ulong) # define BSWAP8(x) _byteswap_uint64((u64)(x)) # define BSWAP4(x) _byteswap_ulong((u32)(x)) |