Merge pull request #7823 from SlugFiller/mbedtls-2.28

Support compilation using CLang on Windows
This commit is contained in:
Dave Rodgman 2023-07-03 09:52:03 +01:00 committed by GitHub
commit a3fc295559
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

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