From 09f91a411647da3a00c792ef6b6f32fe7db0e736 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 12 Oct 2021 23:25:54 +0100 Subject: [PATCH] Fix compilation in MSVC (x64). --- library.h | 3 +++ simd.h | 1 + 2 files changed, 4 insertions(+) diff --git a/library.h b/library.h index ebbe48d..f86af04 100644 --- a/library.h +++ b/library.h @@ -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__) diff --git a/simd.h b/simd.h index 786b87b..7520ced 100644 --- a/simd.h +++ b/simd.h @@ -9,6 +9,7 @@ #ifdef _MSC_VER #define AVX2 +#define SSSE3 #define CLMUL #else #define AVX2 __attribute__((target("avx2")))