fix MinGW build issue on windows (IPV6_PROTECTION_LEVEL)

This commit is contained in:
Arvid Norberg 2009-03-08 02:16:35 +00:00
parent 6353b3c3e6
commit de233c23a2
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ namespace libtorrent
};
#ifdef TORRENT_WINDOWS
#ifndef IPV6_PROTECTION_LEVEL
#define IPV6_PROTECTION_LEVEL 30
#endif
struct v6_protection_level
{
v6_protection_level(int level): m_value(level) {}