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:
parent
1d6128d1fe
commit
a92cf6533f
2 changed files with 1 additions and 2 deletions
|
@ -26,7 +26,6 @@
|
|||
|
||||
#ifdef LWS_WITH_IPV6
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#include <wincrypt.h>
|
||||
#include <iphlpapi.h>
|
||||
#else
|
||||
#include <net/if.h>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue