mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-19 01:43:50 +00:00
Fix missing include for if_nametoindex on Windows.
Raise min version to Vista.
This commit is contained in:
parent
9dd76f68b1
commit
b9dbc5b8ca
@ -37,9 +37,9 @@
|
||||
#define NOMINMAX // Macros min(a,b) and max(a,b)
|
||||
#endif
|
||||
|
||||
// Set target version to Windows Server 2003, Windows XP/SP1 or higher.
|
||||
// Set target version to Windows Server 2008, Windows Vista or higher.
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
@ -54,6 +54,7 @@
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
#include <mswsock.h>
|
||||
#include <iphlpapi.h>
|
||||
|
||||
#if !defined __MINGW32__
|
||||
#include <Mstcpip.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user