Fix Compile Errors on Linux

This commit is contained in:
EAZYBLACK 2026-09-27 21:40:59 +03:00
commit a8d81b531d
3 changed files with 9 additions and 0 deletions

View file

@ -42,6 +42,11 @@ typedef __m128i z_vec128i_t;
#endif
#endif
#ifndef _MSC_VER
#define _declspec(x) __attribute__((x))
#define align(x) aligned(x)
#endif
/*
* chunk copy type: the z_vec128i_t type size should be exactly 128-bits
* and equal to CHUNKCOPY_CHUNK_SIZE.