fix MinGW build issue on windows (IPV6_PROTECTION_LEVEL)
This commit is contained in:
parent
6353b3c3e6
commit
de233c23a2
|
@ -212,6 +212,10 @@ namespace libtorrent
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef TORRENT_WINDOWS
|
#ifdef TORRENT_WINDOWS
|
||||||
|
|
||||||
|
#ifndef IPV6_PROTECTION_LEVEL
|
||||||
|
#define IPV6_PROTECTION_LEVEL 30
|
||||||
|
#endif
|
||||||
struct v6_protection_level
|
struct v6_protection_level
|
||||||
{
|
{
|
||||||
v6_protection_level(int level): m_value(level) {}
|
v6_protection_level(int level): m_value(level) {}
|
||||||
|
|
Loading…
Reference in New Issue