From 65a1a51121278e54e40e2a04ae096053d5a3c47d Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sun, 9 May 2021 20:12:14 +0200 Subject: added bounding box calculation --- service/src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'service/src/util.h') diff --git a/service/src/util.h b/service/src/util.h index 2e2196f..303d9c9 100644 --- a/service/src/util.h +++ b/service/src/util.h @@ -8,6 +8,8 @@ #define ARRSIZE(x) (sizeof(x)/sizeof((x)[0])) #define MIN(x,y) ((x) > (y) ? (y) : (x)) +#define MAX(x,y) ((x) < (y) ? (y) : (x)) + #define NULLFREE(p) do { free(p); p = NULL; } while (0) #define MHASHLEN 32 -- cgit v1.2.3-71-gd317