Commit 7ed66f83 authored by Pekka Pessi's avatar Pekka Pessi

sofia-sip/su.h: do not try to use "IPv6 tech preview" with XP

Fix proposed by Filippo Della Betta.

darcs-hash:20081127120829-db55f-1464fe13a06234c97abafdf73d462166b8b426dc.gz
parent 637cac23
...@@ -67,11 +67,11 @@ ...@@ -67,11 +67,11 @@
# include <winsock2.h> # include <winsock2.h>
# include <ws2tcpip.h> # include <ws2tcpip.h>
# if SU_HAVE_IN6 # if SU_HAVE_IN6
# if defined(IPPROTO_IPV6) || (_WIN32_WINNT >= 0x0600) # if defined(IPPROTO_IPV6) || (_WIN32_WINNT >= 0x0501)
/* case 1: IPv6 defined in winsock2.h/ws2tcpip.h */ /* case 1: IPv6 defined in winsock2.h/ws2tcpip.h */
# else # else
/* case 2: try to use "IPv6 Tech Preview" */ /* case 2: try to use "IPv6 Tech Preview" */
# include <tpipv6.h> # include <tpipv6.h>
# endif # endif
# endif # endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment