summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiza Sulistyo <riza@teluu.com>2016-05-20 07:19:26 +0000
committerRiza Sulistyo <riza@teluu.com>2016-05-20 07:19:26 +0000
commit74960a1414b064b75ed3c3a5eb283652e1b639a0 (patch)
tree45188c455f8b0b8c9896fa1168f1e29dc43a431f
parent58d6c60c881d265cee8c5ca5dbaad545ff44e995 (diff)
Re #1917(misc): Fix tpipv6.h not found when enabling IPv6 on Visual Studio.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5312 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjlib/include/pj/compat/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h
index 23f46af2..754846b1 100644
--- a/pjlib/include/pj/compat/socket.h
+++ b/pjlib/include/pj/compat/socket.h
@@ -64,7 +64,7 @@
# define s_addr S_un.S_addr
# endif
-# if !defined(IPPROTO_IPV6)
+# if !defined(IPPROTO_IPV6) && (_WIN32_WINNT == 0x0500)
/* Need to download and install IPv6Kit for this platform.
* Please see the comments above about Visual Studio 6.
*/