- Zlib Compat: Move definition of z_size_t to zconf.h, so it is exported to applications.
Always defined as size_t to follow zlib 1.2.13 behavior with STDC compilers.
- Zlib-NG: Keeps internal definition of z_size_t in zbuild.h
# define PREFIX3(x) z_ ## x
# define PREFIX4(x) x ## 64
# define zVersion zlibVersion
-# if defined(_WIN64)
-# define z_size_t unsigned __int64
-# else
-# define z_size_t unsigned long
-# endif
#else
# define PREFIX(x) zng_ ## x
# define PREFIX2(x) ZLIBNG_ ## x
# define z_const
#endif
+typedef size_t z_size_t;
+
/* Maximum value for memLevel in deflateInit2 */
#ifndef MAX_MEM_LEVEL
# define MAX_MEM_LEVEL 9