Merge pull request #7626 from SlugFiller/patch-1

Support compilation using CLang on Windows
This commit is contained in:
Dave Rodgman 2023-07-03 09:51:59 +01:00 committed by GitHub
commit 6f37495ea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Bugfix
* Fix builds on Windows with clang

View File

@ -35,6 +35,8 @@
#if MBEDTLS_AESNI_HAVE_CODE == 2
#if !defined(_WIN32)
#include <cpuid.h>
#else
#include <intrin.h>
#endif
#include <immintrin.h>
#endif