aboutsummaryrefslogtreecommitdiff
path: root/shared/util.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-19 18:15:36 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-19 18:15:36 +0200
commit89b8217435286081dc0fe481559da3ee5c20c72a (patch)
tree9be59daf476878a8e55c17776f6c3760d02a27a5 /shared/util.h
parente555b5b5e0ad94279ef62d16feacee4976e2970d (diff)
last-records response handler implemented
Diffstat (limited to 'shared/util.h')
-rw-r--r--shared/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/util.h b/shared/util.h
new file mode 100644
index 0000000..f39ff34
--- /dev/null
+++ b/shared/util.h
@@ -0,0 +1,4 @@
+#pragma once
+
+#define WS_MIN(a, b) (((a) < (b)) ? (a) : (b))
+#define WS_MAX(a, b) (((a) > (b)) ? (a) : (b))