------------------------------------------------------------ revno: 12620 revision-id: squid3@treenet.co.nz-20130911010132-21v4qwr3ofsrp05y parent: squid3@treenet.co.nz-20130911010002-1jtcwxoubv6zzsc3 committer: Amos Jeffries branch nick: 3.3 timestamp: Tue 2013-09-10 19:01:32 -0600 message: Windows: fix IPv6 split-stack support Some builds of MinGW do not define IPV6_V6ONLY socket option. This is an iCelero project ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20130911010132-21v4qwr3ofsrp05y # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 5b2f089d1fbe513c994cf4031cbe350310da6cad # timestamp: 2013-09-11 01:08:46 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20130911010002-\ # 1jtcwxoubv6zzsc3 # # Begin patch === modified file 'compat/os/mswin.h' --- compat/os/mswin.h 2013-09-09 07:17:19 +0000 +++ compat/os/mswin.h 2013-09-11 01:01:32 +0000 @@ -51,6 +51,11 @@ #define NOMINMAX #endif +/// some builds of MinGW do not define IPV6_V6ONLY socket option +#if !defined(IPV6_V6ONLY) +#define IPV6_V6ONLY 27 +#endif + #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 # define __USE_FILE_OFFSET64 1 #endif