mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 11:48:30 +00:00
Improve cosmocc toolchain
- Decouple zlib from libc - Add some underscores to mostly internal names
This commit is contained in:
parent
713d4424c6
commit
ba180e754d
25 changed files with 128 additions and 42 deletions
15
third_party/puff/puff.h
vendored
Normal file
15
third_party/puff/puff.h
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef COSMOPOLITAN_THIRD_PARTY_ZLIB_PUFF_H_
|
||||
#define COSMOPOLITAN_THIRD_PARTY_ZLIB_PUFF_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
#ifndef NIL
|
||||
#define NIL ((unsigned char *)0) /* for no output option */
|
||||
#endif
|
||||
|
||||
int _puff(unsigned char *dest, unsigned long *destlen,
|
||||
const unsigned char *source, unsigned long *sourcelen);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_ZLIB_PUFF_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue