sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 49c91462b37ac87d182b0dcaf3493944a7ff7054
parent 7ffe164106baa5a31a6b556308adae913221fd4e
Author: sin <sin@2f30.org>
Date:   Thu Nov 13 15:27:54 +0000

Undef MIN/MAX in case they are defined somewhere else

Diffstat:
util.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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))