Skip to content

Commit 1ba5dbd

Browse files
committed
fix Linux build
1 parent ccfec15 commit 1ba5dbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

heavyhash/heavyhash-gate.c

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#include <math.h>
1010
#include <stdbool.h>
1111

12+
#define bswap_32x4(x) ((((x) << 24) & 0xff000000u) | (((x) << 8) & 0x00ff0000u) \
13+
| (((x) >> 8) & 0x0000ff00u) | (((x) >> 24) & 0x000000ffu))
14+
1215
static inline void mm128_bswap32_80( void *d, void *s )
1316
{
1417
( (uint32_t*)d )[ 0] = bswap_32( ( (uint32_t*)s )[ 0] );

0 commit comments

Comments
 (0)