mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-16 05:50:52 +08:00
Support compilation using CLang on Windows
Signed-off-by: SlugFiller <5435495+SlugFiller@users.noreply.github.com>
This commit is contained in:
parent
63b50b56cd
commit
e2d0614571
2
ChangeLog.d/fix-win32-llvm-build.txt
Normal file
2
ChangeLog.d/fix-win32-llvm-build.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Bugfix
|
||||||
|
* Fix builds on Windows with clang
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user