aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/zutil.h b/zutil.h
index 60a0bca..14277bc 100644
--- a/zutil.h
+++ b/zutil.h
@@ -42,6 +42,17 @@ typedef unsigned short ush;
42typedef ush FAR ushf; 42typedef ush FAR ushf;
43typedef unsigned long ulg; 43typedef unsigned long ulg;
44 44
45#if !defined(Z_U8) && !defined(Z_SOLO) && defined(STDC)
46# include <limits.h>
47# if (ULONG_MAX == 0xffffffffffffffffULL)
48# define Z_U8 unsigned long
49# elif (ULLONG_MAX == 0xffffffffffffffffULL)
50# define Z_U8 unsigned long long
51# elif (UINT_MAX == 0xffffffffffffffffULL)
52# define Z_U8 unsigned
53# endif
54#endif
55
45extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ 56extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
46/* (size given to avoid silly warnings with Visual C++) */ 57/* (size given to avoid silly warnings with Visual C++) */
47 58