mirror of
https://github.com/3proxy/3proxy.git
synced 2026-04-28 15:10:12 +08:00
Fix blake2 for watcom
This commit is contained in:
parent
6b61cfde4c
commit
f63a83f554
@ -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))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user