diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-11 20:15:56 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-11 20:15:56 +0200 |
commit | bf705da4ac2df55e75026fd4bb4843c5bc7668fb (patch) | |
tree | 1b05d4f94a0e2fff0d000ddb926238df02948388 /libc/misc/wordexp | |
parent | be7bc0ba87633a1e5fc2f00358137d905126e787 (diff) |
wordexp: silence warning
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/wordexp')
-rw-r--r-- | libc/misc/wordexp/wordexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |