aboutsummaryrefslogtreecommitdiffstats
path: root/dbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbg.h')
-rw-r--r--dbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbg.h b/dbg.h
index 2d32033..3432fd3 100644
--- a/dbg.h
+++ b/dbg.h
@@ -66,4 +66,6 @@ extern int DBG_LVL;
/* A neat macro that silences unused parameter warnings compiler independant */
#define UNUSED(x) (void)(x)
+#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
+
#endif