mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Always include <intrin.h> on Visual Studio x86/x86_64
This commit is contained in:
@@ -12,9 +12,6 @@
|
||||
# pragma GCC target("ssse3")
|
||||
# endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# include <intrin.h> /* for _mm_set_epi64x */
|
||||
#endif
|
||||
#include <emmintrin.h>
|
||||
#include <tmmintrin.h>
|
||||
|
||||
|
||||
@@ -194,6 +194,9 @@ store32_be(uint8_t dst[4], uint32_t w)
|
||||
|
||||
#if defined(_MSC_VER) && \
|
||||
(defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86))
|
||||
|
||||
#include <intrin.h>
|
||||
|
||||
# define HAVE_MMINTRIN_H 1
|
||||
# define HAVE_EMMINTRIN_H 1
|
||||
# define HAVE_PMMINTRIN_H 1
|
||||
|
||||
Reference in New Issue
Block a user