Skip to content

Commit

Permalink
Small patch to change mbedtls _WIN32_WINNT
Browse files Browse the repository at this point in the history
We are using 0x0601 as min anyway.
This avoids SOCKADDR_STORAGE error on uwp build
  • Loading branch information
Faless committed Feb 20, 2018
1 parent d29488e commit dfef6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/mbedtls/library/net_sockets.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#undef _WIN32_WINNT
#endif
/* Enables getaddrinfo() & Co */
#define _WIN32_WINNT 0x0501
#define _WIN32_WINNT 0x0601
#include <ws2tcpip.h>

#include <winsock2.h>
Expand Down

0 comments on commit dfef6f2

Please sign in to comment.