Browse Source

Small patch to change mbedtls _WIN32_WINNT

We are using 0x0601 as min anyway.
This avoids SOCKADDR_STORAGE error on uwp build
Fabio Alessandrelli 7 years ago
parent
commit
dfef6f24d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thirdparty/mbedtls/library/net_sockets.c

+ 1 - 1
thirdparty/mbedtls/library/net_sockets.c

@@ -49,7 +49,7 @@
 #undef _WIN32_WINNT
 #undef _WIN32_WINNT
 #endif
 #endif
 /* Enables getaddrinfo() & Co */
 /* Enables getaddrinfo() & Co */
-#define _WIN32_WINNT 0x0501
+#define _WIN32_WINNT 0x0601
 #include <ws2tcpip.h>
 #include <ws2tcpip.h>
 
 
 #include <winsock2.h>
 #include <winsock2.h>