From 71dbee43d005ce39fa17834cc34fe4233945e24f Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 3 Feb 2011 13:48:17 +0200 Subject: some generation-time mud flow tweaking --- src/utility.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/utility.h') diff --git a/src/utility.h b/src/utility.h index cc69099b4..e6e72efcf 100644 --- a/src/utility.h +++ b/src/utility.h @@ -1829,5 +1829,11 @@ inline bool string_allowed(const std::string &s, const std::string &allowed_char return true; } +/* + Some helper stuff +*/ +#define MYMIN(a,b) ((a)<(b)?(a):(b)) +#define MYMAX(a,b) ((a)>(b)?(a):(b)) + #endif -- cgit v1.2.3