Fix blake2 for watcom

This commit is contained in:
Vladimir Dubrovin committed 2026-04-24 18:13:30 +03:00
1 parent 6b61cfde4c
commit f63a83f554
1 file changed
+3 -1
+3 -1
View File
@@ -18,7 +18,9 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#if defined(_MSC_VER) #if defined(WATCOM)
#define BLAKE2_PACKED(x) _Packed x
#elif defined(_MSC_VER)
#define BLAKE2_PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop)) #define BLAKE2_PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
#else #else
#define BLAKE2_PACKED(x) x __attribute__((packed)) #define BLAKE2_PACKED(x) x __attribute__((packed))