Author: jkim
Date: Fri Jul  9 05:25:14 2010
New Revision: 209842
URL: http://svn.freebsd.org/changeset/base/209842

Log:
  Fix build by defining MAX() macro here.

Modified:
  head/lib/libstand/printf.c

Modified: head/lib/libstand/printf.c
==============================================================================
--- head/lib/libstand/printf.c  Fri Jul  9 00:38:00 2010        (r209841)
+++ head/lib/libstand/printf.c  Fri Jul  9 05:25:14 2010        (r209842)
@@ -151,6 +151,7 @@ ksprintn(char *nbuf, uintmax_t num, int 
 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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to