Begin forwarded message:
From: Michael Jerris <[EMAIL PROTECTED]>
Date: January 11, 2008 9:34:37 AM GMT-05:00
To: Pekka Pessi <[EMAIL PROTECTED]>
Subject: Re: [Sofia-sip-devel] Problems on win32 with latest window
SDK
My fix for this one is:
Index: sofia-sip/su.h
===================================================================
--- sofia-sip/su.h (revision 6643)
+++ sofia-sip/su.h (revision 6644)
@@ -67,7 +67,7 @@
# include <winsock2.h>
# include <ws2tcpip.h>
# if SU_HAVE_IN6
-# if defined(IPPROTO_IPV6)
+# if defined(IPPROTO_IPV6) || (_WIN32_WINNT >= 0x0600)
/* case 1: IPv6 defined in winsock2.h/ws2tcpip.h */
# else
/* case 2: try to use "IPv6 Tech Preview" */
it should not require additional includes beyond this.
Mike
On Jan 11, 2008, at 8:48 AM, Pekka Pessi wrote:
2008/1/9, Francesco Lamonica <[EMAIL PROTECTED]>:
Hi, i found a problem on win32 with the latest windows SDK (the one
with vista support)
in su.h (line 73 - sofia 1.12.7) it does not enter in the "then"
branch of the #if defined(IPPROTO_IPV6) and tries to use the
nonexistent tpipv6.h
thing is that with previous windows platform sdk (windows server
2003
R2) the IPPROTO_IPV6 was defined in the winsock2.h header file
(included from su.h) hence the definition was correctly found)
Hm. How this should be fixed? Does do you have to include an another
include file with Vista SDK?
--
Pekka.Pessi mail at nokia.com
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel