aboutsummaryrefslogtreecommitdiff
path: root/snag/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'snag/src/util.h')
-rw-r--r--snag/src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/snag/src/util.h b/snag/src/util.h
index 0c684a4..299bd22 100644
--- a/snag/src/util.h
+++ b/snag/src/util.h
@@ -34,4 +34,6 @@ char* vastrcat_(int dummy, ...);
#define join_path(...) join_path_(0, __VA_ARGS__, NULL)
char* join_path_(int dummy, ...);
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+
#endif