From 49c91462b37ac87d182b0dcaf3493944a7ff7054 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 13 Nov 2014 15:27:54 +0000 Subject: [PATCH] Undef MIN/MAX in case they are defined somewhere else --- util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util.h b/util.h index 83ca8e4..c3ca8a7 100644 --- a/util.h +++ b/util.h @@ -5,7 +5,9 @@ #define UTF8_POINT(c) (((c) & 0xc0) != 0x80) +#undef MIN #define MIN(x,y) ((x) < (y) ? (x) : (y)) +#undef MAX #define MAX(x,y) ((x) > (y) ? (x) : (y)) #define LEN(x) (sizeof (x) / sizeof *(x))