mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-18 17:36:57 +00:00
Merge pull request #84 from GreatFruitOmsk/master
Fix missing include for if_nametoindex on Windows.
This commit is contained in:
commit
e2a2175f15
@ -37,9 +37,9 @@
|
|||||||
#define NOMINMAX // Macros min(a,b) and max(a,b)
|
#define NOMINMAX // Macros min(a,b) and max(a,b)
|
||||||
#endif
|
#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
|
#ifndef _WIN32_WINNT
|
||||||
#define _WIN32_WINNT 0x0501
|
#define _WIN32_WINNT 0x0600
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
@ -54,6 +54,7 @@
|
|||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <mswsock.h>
|
#include <mswsock.h>
|
||||||
|
#include <iphlpapi.h>
|
||||||
|
|
||||||
#if !defined __MINGW32__
|
#if !defined __MINGW32__
|
||||||
#include <Mstcpip.h>
|
#include <Mstcpip.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user