mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
Include <intrin.h> for hardware SHA on Windows
Fixes failure to build under Windows with Visual Studio 14.
This commit is contained in:
parent
044a9304e3
commit
fbc8b7a8cb
@ -413,6 +413,10 @@ int main(void) {
|
||||
|
||||
#ifdef COMPILER_SUPPORTS_SHA_NI
|
||||
|
||||
#if defined _MSC_VER && defined _M_AMD64
|
||||
# include <intrin.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Set target architecture for Clang and GCC
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user