From bf705da4ac2df55e75026fd4bb4843c5bc7668fb Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 11 Jun 2010 20:15:56 +0200 Subject: wordexp: silence warning Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/wordexp/wordexp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/misc/wordexp') diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c index 2f529158c..4c25d2860 100644 --- a/libc/misc/wordexp/wordexp.c +++ b/libc/misc/wordexp/wordexp.c @@ -98,8 +98,9 @@ static __inline__ char *w_addchar(char *buffer, size_t * actlen, return buffer; } - +#ifndef MAX #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) +#endif static char *w_addmem(char *buffer, size_t * actlen, size_t * maxlen, const char *str, size_t len) { -- cgit v1.2.3