Browse Source

YaIO windows compatible
8a911fb4640d7dbc23a1a14e59b44b6bdf18161f

k-vukolov 11 months ago
parent
commit
7bfb3ae386
1 changed files with 3 additions and 2 deletions
  1. 3 2
      contrib/libs/nghttp2/lib/includes/nghttp2/nghttp2.h

+ 3 - 2
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