mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 14:11:08 +00:00
commit
1d632c26a4
|
@ -54,8 +54,7 @@
|
||||||
|
|
||||||
#define IS_EINTR( ret ) ( ( ret ) == WSAEINTR )
|
#define IS_EINTR( ret ) ( ( ret ) == WSAEINTR )
|
||||||
|
|
||||||
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501)
|
#if !defined(_WIN32_WINNT)
|
||||||
#undef _WIN32_WINNT
|
|
||||||
/* Enables getaddrinfo() & Co */
|
/* Enables getaddrinfo() & Co */
|
||||||
#define _WIN32_WINNT 0x0501
|
#define _WIN32_WINNT 0x0501
|
||||||
#endif
|
#endif
|
||||||
|
@ -64,6 +63,9 @@
|
||||||
|
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#if (_WIN32_WINNT < 0x0501)
|
||||||
|
#include <wspiapi.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#if defined(_WIN32_WCE)
|
#if defined(_WIN32_WCE)
|
||||||
|
|
Loading…
Reference in a new issue