mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -07:00
Include <intrin.h> on Visual Studio for __cpuid()
This commit is contained in:
parent
b146082d68
commit
4c2cf071f8
@ -4,6 +4,10 @@
|
||||
#ifdef HAVE_ANDROID_GETCPUFEATURES
|
||||
# include <cpu-features.h>
|
||||
#endif
|
||||
#if defined(_MSC_VER) && \
|
||||
(defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))
|
||||
# include <intrin.h>
|
||||
#endif
|
||||
|
||||
#include "runtime.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user