Fix build by defining MAX() macro here.
This commit is contained in:
parent
ad7dfe8fd7
commit
ef22791b81
@ -151,6 +151,7 @@ ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper)
|
||||
static int
|
||||
kvprintf(char const *fmt, void (*func)(int), void *arg, int radix, va_list ap)
|
||||
{
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#define PCHAR(c) {int cc=(c); if (func) (*func)(cc); else *d++ = cc; retval++; }
|
||||
char nbuf[MAXNBUF];
|
||||
char *d;
|
||||
|
Loading…
Reference in New Issue
Block a user