From a21c6e22ebd839ac66bd415e58813d0a3a811b80 Mon Sep 17 00:00:00 2001 From: sbosse Date: Mon, 16 Mar 2026 11:12:49 +0100 Subject: [PATCH] Mon 16 Mar 11:09:06 CET 2026 --- src/utils.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/utils.h diff --git a/src/utils.h b/src/utils.h new file mode 100644 index 0000000..f948620 --- /dev/null +++ b/src/utils.h @@ -0,0 +1,16 @@ +#ifndef _UTILS_H +#define _UTILS_H + +#define DECR(x,n) x-=n +#define INCR(x,n) x+=n + +#ifndef MAX +#define MAX(a,b) (a>b?a:b) +#endif +#ifndef MIN +#define MIN(a,b) (a