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:
parent
ed57801379
commit
ea7f03d9b4
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user