mirror of
https://github.com/3proxy/3proxy.git
synced 2026-05-13 13:57:26 +00:00
Fix blake2 for Watcom
This commit is contained in:
parent
e419a21cf9
commit
e9848b6622
2 changed files with 4 additions and 2 deletions
2
.github/workflows/build-watcom.yml
vendored
2
.github/workflows/build-watcom.yml
vendored
|
|
@ -2,7 +2,7 @@ name: Build Win32 3proxy-lite with Watcom
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master", "test-ci" ]
|
||||
branches: [ "master", "test-ci" ]
|
||||
paths: [ 'RELEASE', '.github/workflows/build-watcom.yml' ]
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@
|
|||
#include <stddef.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))
|
||||
#else
|
||||
#define BLAKE2_PACKED(x) x __attribute__((packed))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue