Fix compilation in MSVC (x64).

This commit is contained in:
2021-10-12 23:25:54 +01:00
parent 0c2bc4c249
commit 09f91a4116
2 changed files with 4 additions and 0 deletions

View File

@@ -11,6 +11,9 @@
#define AARU_CALL __stdcall
#define AARU_EXPORT EXTERNC __declspec(dllexport)
#define AARU_LOCAL
#ifndef PATH_MAX
#define PATH_MAX _MAX_PATH
#endif
#else
#define AARU_CALL
#if defined(__APPLE__)

1
simd.h
View File

@@ -9,6 +9,7 @@
#ifdef _MSC_VER
#define AVX2
#define SSSE3
#define CLMUL
#else
#define AVX2 __attribute__((target("avx2")))