From fa662c9571e92d5fc4f36414723bbaed1e11b278 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 11 Sep 2009 13:51:50 -0400 Subject: INSTALL: fix build on Snow Leopard http://codereview.appspot.com/116073 --- src/cmd/tpic/pic.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd/tpic') diff --git a/src/cmd/tpic/pic.h b/src/cmd/tpic/pic.h index 50e58009..438e71a6 100644 --- a/src/cmd/tpic/pic.h +++ b/src/cmd/tpic/pic.h @@ -12,6 +12,9 @@ #define dprintf if(dbg)printf extern char errbuf[200]; + +#undef sprintf /* Snow Leopard */ + #define ERROR sprintf(errbuf, #define FATAL ), yyerror(errbuf), exit(1) #define WARNING ), yyerror(errbuf) -- cgit v1.2.3