diff options
author | Damien Miller <djm@mindrot.org> | 2000-08-30 00:21:22 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-08-30 00:21:22 +0200 |
commit | 87d29ed405ce6a6aa56660c9c696f6b78a709034 (patch) | |
tree | 1e835a3e9e18b7956b511860e9186f52ea9679c3 /bsd-snprintf.c | |
parent | - (djm) NeXT tweaks from Ben Lindstrom <mouring@pconline.com> (diff) | |
download | openssh-87d29ed405ce6a6aa56660c9c696f6b78a709034.tar.xz openssh-87d29ed405ce6a6aa56660c9c696f6b78a709034.zip |
- (djm) Compile warning fixes from Mark Miller <markm@swoon.net>
Diffstat (limited to 'bsd-snprintf.c')
-rw-r--r-- | bsd-snprintf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bsd-snprintf.c b/bsd-snprintf.c index 4716ee291..5b674c569 100644 --- a/bsd-snprintf.c +++ b/bsd-snprintf.c @@ -116,7 +116,9 @@ static void dopr_outch (char *buffer, size_t *currlen, size_t maxlen, char c ); #define DP_C_LDOUBLE 3 #define char_to_int(p) (p - '0') -#define MAX(p,q) ((p >= q) ? p : q) +#ifndef MAX +# define MAX(p,q) ((p >= q) ? p : q) +#endif static void dopr (char *buffer, size_t maxlen, const char *format, va_list args) { |