summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-04-26 07:08:53 +0000
committerBenny Prijono <bennylp@teluu.com>2010-04-26 07:08:53 +0000
commitff5d3e64975fca69faf71bf73bdcc14eccb7d7f3 (patch)
treefb77c404a662fcf678120dce273c48521ac4a8fb /pjlib
parentc60d75a58eb933006899e152099dec3900b7bddc (diff)
Fixed ticket #1058 (Different size between pj_sockaddr_in6 and native sockaddr_in6 on 64bit systems, causing failure in using SIP IPv6 UDP transport):
- disabled u6_addr64 field in pj_in6_addr, as this seem to cause 32 byte alignment to be invoked git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3145 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/sock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/include/pj/sock.h b/pjlib/include/pj/sock.h
index 3245367e..bdb24f03 100644
--- a/pjlib/include/pj/sock.h
+++ b/pjlib/include/pj/sock.h
@@ -522,8 +522,10 @@ typedef union pj_in6_addr
/* Do not use this with Winsock2, as this will align pj_sockaddr_in6
* to 64-bit boundary and Winsock2 doesn't like it!
+ * Update 26/04/2010:
+ * This is now disabled, see http://trac.pjsip.org/repos/ticket/1058
*/
-#if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 && \
+#if 0 && defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 && \
(!defined(PJ_WIN32) || PJ_WIN32==0)
pj_int64_t u6_addr64[2];
#endif