From cfd6fea109e26f79781ca1404e12f20efee6697c Mon Sep 17 00:00:00 2001 From: Abdülhamit Yilmaz Date: Mon, 13 Oct 2014 12:10:56 +0200 Subject: Add missing MIN directive It's needed in strbuf_cmp(). --- src/buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/buffer.c b/src/buffer.c index 7c2b86b..67677d5 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -19,6 +19,8 @@ unsigned char strbuf__oom[1]; if ((d) > buf->asize && strbuf_grow(b, (d)) < 0)\ return -1; +#define MIN(x,y) ((xasize = 0; -- cgit v1.2.3