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:
parent
54f4faa4c1
commit
932f99c0ac
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user