projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e0c089
)
zlib: fix DEBUG build
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 1 May 2011 12:31:02 +0000
(12:31 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 12 May 2011 17:30:29 +0000
(19:30 +0200)
The previous commit imported a little too much from upstream. We need
to disable stdio.h when using U-Boot.
Reported-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib/zlib/zutil.h
patch
|
blob
|
history
diff --git
a/lib/zlib/zutil.h
b/lib/zlib/zutil.h
index 46522c8e653f18c416c46e2bbd474a6b1a2259ea..114cb744e0cd878ff143eecb6bf0dfd58c8a4d49 100644
(file)
--- a/
lib/zlib/zutil.h
+++ b/
lib/zlib/zutil.h
@@
-91,7
+91,8
@@
extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
/* Diagnostic functions */
#ifdef DEBUG
-# include <stdio.h>
+/* Not valid for U-boot
+# include <stdio.h> */
extern int z_verbose;
extern void z_error OF((char *m));
# define Assert(cond,msg) {if(!(cond)) z_error(msg);}