aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-vukolov <k-vukolov@yandex-team.com>2024-03-19 12:06:18 +0300
committerk-vukolov <k-vukolov@yandex-team.com>2024-03-19 12:30:16 +0300
commit7bfb3ae386d49f6392b1e4fcc8b6f1c43940f27c (patch)
tree9ca8229af624fb5faef1155a5044595e21848c41
parentd3a97480a3f641699d05912eff17b2c6d69bbd3f (diff)
downloadydb-7bfb3ae386d49f6392b1e4fcc8b6f1c43940f27c.tar.gz
YaIO windows compatible
8a911fb4640d7dbc23a1a14e59b44b6bdf18161f
-rw-r--r--contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h b/contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h
index 582476ff23..a99382e8e4 100644
--- a/contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h
+++ b/contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h
@@ -55,8 +55,9 @@ extern "C" {
#include <nghttp2/nghttp2ver.h>
-#if defined(WIN32)
-typedef int ssize_t;
+#if defined(_MSC_VER)
+# include <basetsd.h>
+ typedef SSIZE_T ssize_t;
#endif
#if 1