1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/testing/opensurge/patch-zip.patch
David Demelier b68bbef079 testing/opensurge: new aport
https://opensurge2d.org
2D retro platformer inspired by Sonic games
2021-11-21 02:03:37 +00:00

21 lines
627 B
Diff

Fix invalid conditional on recent version of musl.
Upstream: not yet, need better alternative.
--- a/src/core/zip/zip.h
+++ b/src/core/zip/zip.h
@@ -19,15 +19,6 @@
extern "C" {
#endif
-#if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \
- !defined(_SSIZE_T) && !defined(_SSIZE_T_) && \
- !defined(__ssize_t_defined) && !defined(ssize_t) && \
- !defined(_SSIZE_T_DECLARED) && !defined(HAVE_SSIZE_T)
-#define _SSIZE_T
-#define __ssize_t_defined
-typedef long ssize_t; /* byte count or error */
-#endif
-
#ifndef MAX_PATH
#define MAX_PATH 32767 /* # chars in a path name including NULL */
#endif