Quellcode durchsuchen

Small patch to change mbedtls _WIN32_WINNT

We are using 0x0601 as min anyway.
This avoids SOCKADDR_STORAGE error on uwp build
Fabio Alessandrelli vor 7 Jahren
Ursprung
Commit
dfef6f24d5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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>