yuzu/externals/vcpkg/ports/hiredis/fix-ssize_t.patch
2022-07-23 03:01:36 +02:00

12 lines
309 B
Diff
Executable File

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 */