1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

windows: fix build on VS2017 WIN10

This commit is contained in:
Kieran 2019-04-01 23:23:52 +08:00 committed by Andy Green
parent 1d6128d1fe
commit a92cf6533f
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,6 @@
#ifdef LWS_WITH_IPV6
#if defined(WIN32) || defined(_WIN32)
#include <wincrypt.h>
#include <iphlpapi.h>
#else
#include <net/if.h>

View file

@ -25,7 +25,7 @@
#define WIN32_LEAN_AND_MEAN
#endif
#if (WINVER < 0x0501)
#if defined(WINVER) && (WINVER < 0x0501)
#undef WINVER
#undef _WIN32_WINNT
#define WINVER 0x0501