zeek/auxil/vcpkg/ports/libuv/ssize_t.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

15 lines
356 B
Diff

diff --git a/include/uv/win.h b/include/uv/win.h
index 12ac53b4..6e1abd5b 100644
--- a/include/uv/win.h
+++ b/include/uv/win.h
@@ -24,7 +24,9 @@
#endif
#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
+# ifndef ssize_t
typedef intptr_t ssize_t;
+# endif
# define SSIZE_MAX INTPTR_MAX
# define _SSIZE_T_
# define _SSIZE_T_DEFINED