Small patch to change mbedtls _WIN32_WINNT
We are using 0x0601 as min anyway. This avoids SOCKADDR_STORAGE error on uwp build
This commit is contained in:
2
thirdparty/mbedtls/library/net_sockets.c
vendored
2
thirdparty/mbedtls/library/net_sockets.c
vendored
@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user