ARM: tegra: Add CPU (armv7) files for Tegra124
[oweals/u-boot.git] / lib / zlib / zutil.h
index 46522c8e653f18c416c46e2bbd474a6b1a2259ea..7e05c3b5642fbd075cb8b3ebb4efae832b0132e3 100644 (file)
@@ -83,6 +83,10 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
 /* The minimum and maximum match lengths */
 
         /* functions */
+#ifdef CONFIG_GZIP_COMPRESSED
+#define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
+#  define OS_CODE  0x03  /* assume Unix */
+#endif
 
 #include <linux/string.h>
 #define zmemcpy memcpy
@@ -91,7 +95,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);}