mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:49:01 +08:00
15 lines
356 B
Diff
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
|