Skip to content

Commit 6f37495

Browse files
authored
Merge pull request #7626 from SlugFiller/patch-1
Support compilation using CLang on Windows
2 parents 1873d3b + daa363b commit 6f37495

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ChangeLog.d/fix-win32-llvm-build.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Bugfix
2+
* Fix builds on Windows with clang

library/aesni.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
#if MBEDTLS_AESNI_HAVE_CODE == 2
3636
#if !defined(_WIN32)
3737
#include <cpuid.h>
38+
#else
39+
#include <intrin.h>
3840
#endif
3941
#include <immintrin.h>
4042
#endif

0 commit comments

Comments
 (0)