mirror of
https://github.com/QuasarApp/zip.git
synced 2025-04-28 13:24:33 +00:00
Add support for Android NDK stdint.h. (#91)
Some stdint.h headers define `_SSIZE_T_DEFINED_` instead of `_SSIZE_T_DEFINED`. Allow for this in the ifdef checks in zip.h
This commit is contained in:
parent
f339a2fca2
commit
df34e4609a
@ -19,7 +19,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
|
||||
!defined(_SSIZE_T) && !defined(_SSIZE_T_)
|
||||
#define _SSIZE_T
|
||||
typedef long ssize_t; /* byte count or error */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user