1
1
mirror of https://github.com/BLAKE2/BLAKE2 synced 2024-09-18 08:51:39 +02:00

add x64 detection for MSVC

MSVC does not define __x86_64__, but it defines _M_X64
This commit is contained in:
Ilya Shipitsin 2022-03-20 15:27:00 +05:00
parent 54f4faa4c1
commit 932f99c0ac

View File

@ -16,7 +16,7 @@
#define BLAKE2_CONFIG_H
/* These don't work everywhere */
#if defined(__SSE2__) || defined(__x86_64__) || defined(__amd64__)
#if defined(__SSE2__) || defined(__x86_64__) || defined(__amd64__) || defined(_M_X64)
#define HAVE_SSE2
#endif