some stuff

This commit is contained in:
cathugger
2017-10-22 05:34:13 +00:00
parent 1e9e5b3a63
commit 86216787ba
2 changed files with 1 additions and 1 deletions

View File

@@ -20,6 +20,7 @@
#include <sys/param.h>
#define DONNA_INLINE inline __attribute__((always_inline))
#define DONNA_NOINLINE __attribute__((noinline))
#undef ALIGN
#define ALIGN(x) __attribute__((aligned(x)))
#define ROTL32(a,b) (((a) << (b)) | ((a) >> (32 - b)))
#define ROTR32(a,b) (((a) >> (b)) | ((a) << (32 - b)))