mirror of
https://github.com/QuasarApp/zip.git
synced 2025-04-29 22:04:35 +00:00
Fix ssize_t check for MXE (#82)
The MXE build environment (to cross-compile Windows binaries from Linux) uses the _SSIZE_T_DEFINED instead of the _SSIZE_T, and fails otherwise due to conflicting types.
This commit is contained in:
parent
18197675d3
commit
f8121a27c4
@ -19,7 +19,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _SSIZE_T
|
||||
#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T)
|
||||
#define _SSIZE_T
|
||||
typedef long ssize_t; /* byte count or error */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user