Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
# Zip Library
https://github.com/kuba--/zip
Version: f72dce22bd25d10f8575ec54cf51bf5a5fdcb5ba

Change this line in `miniz.h`:
```
#if MINIZ_X86_OR_X64_CPU
```
to
```
#if MINIZ_X86_OR_X64_CPU && !defined(HERMES_UBSAN)
```

Change this typedef in `zip.h`:
```
// 64-bit Windows is the only mainstream platform
// where sizeof(long) != sizeof(void*)
#ifdef _WIN64
typedef long long ssize_t; /* byte count or error */
#else
typedef long ssize_t; /* byte count or error */
#endif
```
to
```
typedef intptr_t ssize_t; /* byte count or error */
```