diff options
author | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
---|---|---|
committer | Russ Cox <russcox@gmail.com> | 2009-09-11 13:51:50 -0400 |
commit | fa662c9571e92d5fc4f36414723bbaed1e11b278 (patch) | |
tree | fa5953ca28ab8687e1186b4183d480a98feed2bc /src/cmd/pic | |
parent | a673ea22035ad986afc84d44543cd232218ddbe9 (diff) | |
download | plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.gz plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.tar.bz2 plan9port-fa662c9571e92d5fc4f36414723bbaed1e11b278.zip |
INSTALL: fix build on Snow Leopard
http://codereview.appspot.com/116073
Diffstat (limited to 'src/cmd/pic')
-rw-r--r-- | src/cmd/pic/pic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/pic/pic.h b/src/cmd/pic/pic.h index a4f7a6a4..928d38dd 100644 --- a/src/cmd/pic/pic.h +++ b/src/cmd/pic/pic.h @@ -10,6 +10,9 @@ extern void yyerror(char *); extern char errbuf[200]; + +#undef sprintf /* Snow Leopard */ + #define ERROR sprintf(errbuf, #define FATAL ), yyerror(errbuf), exit(1) #define WARNING ), yyerror(errbuf) |