diff options
Diffstat (limited to 'vcpkg/ports/hiredis/fix-ssize_t.patch')
| -rw-r--r-- | vcpkg/ports/hiredis/fix-ssize_t.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/hiredis/fix-ssize_t.patch b/vcpkg/ports/hiredis/fix-ssize_t.patch new file mode 100644 index 0000000..521313a --- /dev/null +++ b/vcpkg/ports/hiredis/fix-ssize_t.patch @@ -0,0 +1,11 @@ +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 */
|