aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/util.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-05-09 20:12:14 +0200
committerLouis Burda <quent.burda@gmail.com>2021-05-09 20:12:14 +0200
commit65a1a51121278e54e40e2a04ae096053d5a3c47d (patch)
tree74f2a6589dd4ada7dd4029d397de6a67a311352a /service/src/util.h
parent3b660c467f938df6898229e378074cfa5662ce9f (diff)
downloadenowars5-service-stldoctor-65a1a51121278e54e40e2a04ae096053d5a3c47d.tar.gz
enowars5-service-stldoctor-65a1a51121278e54e40e2a04ae096053d5a3c47d.zip
added bounding box calculation
Diffstat (limited to 'service/src/util.h')
-rw-r--r--service/src/util.h2
1 files changed, 2 insertions, 0 deletions
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