]> git.sur5r.net Git - u-boot/blobdiff - lib/zlib/zutil.h
efi_loader: avoid anonymous constants for AllocatePages
[u-boot] / lib / zlib / zutil.h
index 46522c8e653f18c416c46e2bbd474a6b1a2259ea..e63bf68653f52ed254d77e6623a4fe5c2c912f9d 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);}