1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 20:45:17 -07:00

Define HAVE_INTRIN_H on Windows; no need to reinclude it in runtime.c

This commit is contained in:
Frank Denis 2017-03-01 10:32:28 +01:00
parent ed57801379
commit ea7f03d9b4
2 changed files with 1 additions and 4 deletions

View File

@ -197,6 +197,7 @@ store32_be(uint8_t dst[4], uint32_t w)
#include <intrin.h>
# define HAVE_INTRIN_H 1
# define HAVE_MMINTRIN_H 1
# define HAVE_EMMINTRIN_H 1
# define HAVE_PMMINTRIN_H 1

View File

@ -3,10 +3,6 @@
#ifdef HAVE_ANDROID_GETCPUFEATURES
# include <cpu-features.h>
#endif
#if defined(HAVE_INTRIN_H) || (defined(_MSC_VER) && \
(defined(_M_X64) || defined(_M_AMD64) || defined(_M_IX86)))
# include <intrin.h>
#endif
#include "private/common.h"
#include "runtime.h"