[reSIProcate] compat.hxx broken for IPPROTO_IPV6
Scott Godin
sgodin at sipspectrum.com
Wed Mar 25 07:32:56 CDT 2009
I have IPPPROTO_IPV6 defined in WinSock2.h at c:\Program Files\Microsoft
Visual Studio 8\VC\PlatformSDK\Include
Scott
2009/3/24 Jeremy Geras <jgeras at counterpath.com>
> Hi,
>
> Unless I'm missing some #include that everyone else on Windows has, I don't
> think that IPPROTO_IPV6 can be checked with an #ifndef in rutil\compat.hxx
> the way that it is right now on the trunk... IPPROTO_IPV6 is part of an
> enum, it isn't #define'd.
>
> So
> #ifndef IPPROTO_IPV6
>
> should actually be something more along the lines of
>
> #if(_WIN32_WINNT >= 0x0501)
> #define IPPROTO_IPV6
> #else
> ...
>
> Or maybe we should just #undef USE_IPV6 ?
>
> In case it's relevant, I'm on Windows XP SP3 with the latest Platform SDK
> (6.1) compiling in VS 2008.
>
> Jeremy
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20090325/a863254b/attachment.htm>
More information about the resiprocate-devel
mailing list