mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-28 04:37:13 +09:00
Define HAVE_INTRIN_H on Windows; no need to reinclude it in runtime.c
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user