Skip to content
Snippets Groups Projects
Commit f18185ab authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

zlib: fix DEBUG build


The previous commit imported a little too much from upstream.  We need
to disable stdio.h when using U-Boot.

Reported-by: default avatarWolfgang Denk <wd@denx.de>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 0e0c0892
No related branches found
No related tags found
No related merge requests found
......@@ -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);}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment