Support compilation using CLang on Windows

Signed-off-by: SlugFiller <5435495+SlugFiller@users.noreply.github.com>
This commit is contained in:
SlugFiller 2023-06-23 06:24:49 +03:00
parent 63b50b56cd
commit e2d0614571
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 !defined(_WIN32)
#include <cpuid.h>
#else
#include <intrin.h>
#endif
#include <immintrin.h>
#endif