mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
416e173448
These changes were necessary to help Blink become buildable using Cosmopolitan Libc.
34 lines
803 B
C
34 lines
803 B
C
#ifndef COSMOPOLITAN_THIRD_PARTY_ZLIB_ZCONF_H_
|
|
#define COSMOPOLITAN_THIRD_PARTY_ZLIB_ZCONF_H_
|
|
|
|
#define STDC
|
|
#define STDC99
|
|
#define MAX_MEM_LEVEL 9
|
|
#define DEF_MEM_LEVEL 8
|
|
#define MAX_WBITS 15 /* 32K LZ77 window */
|
|
|
|
#ifdef MODE_DBG
|
|
#define ZLIB_DEBUG
|
|
#endif
|
|
|
|
#define z_const const
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
typedef unsigned char Byte;
|
|
typedef unsigned int uInt; /* 16 bits or more */
|
|
typedef unsigned long uLong; /* 32 bits or more */
|
|
typedef Byte Bytef;
|
|
typedef char charf;
|
|
typedef int intf;
|
|
typedef uInt uIntf;
|
|
typedef uLong uLongf;
|
|
typedef void const *voidpc;
|
|
typedef void *voidpf;
|
|
typedef void *voidp;
|
|
typedef uint32_t z_crc_t;
|
|
typedef int64_t z_off64_t;
|
|
typedef size_t z_size_t;
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_ZLIB_ZCONF_H_ */
|