Fix MingW version issue
This commit is contained in:
parent
ee5db1d6b9
commit
1321135758
2 changed files with 6 additions and 3 deletions
|
@ -32,13 +32,14 @@
|
|||
#if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(EFIX64) && \
|
||||
!defined(EFI32)
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
|
||||
#if defined(POLARSSL_HAVE_IPV6)
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
#pragma comment( lib, "ws2.lib" )
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue