Include <intrin.h> on Visual Studio for __cpuid()

This commit is contained in:
Frank Denis 2017-02-16 09:23:54 +01:00
parent b146082d68
commit 4c2cf071f8

View File

@ -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"