pineapple-src/externals/vcpkg/ports/hiredis/fix-ssize_t.patch

12 lines
309 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/hiredis.h b/hiredis.h
--- a/hiredis.h
+++ b/hiredis.h
@@ -40,6 +40,7 @@
#else
struct timeval; /* forward declaration */
typedef long long ssize_t;
+#define _SSIZE_T_ /* for compatibility with libuv */
#endif
#include <stdint.h> /* uintXX_t, etc */
#include "sds.h" /* for sds */