4
0
mirror of https://github.com/QuasarApp/zip.git synced 2025-04-29 22:04:35 +00:00

Fix ssize_t check for MXE ()

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:
bvgastel 2018-10-13 20:48:09 +02:00 committed by Kuba Podgórski
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