mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix blake2 for watcom
This commit is contained in:
1 parent
6b61cfde4c
commit
f63a83f554
1 file changed
+3
-1
+3
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user