Changeset 3145


Ignore:
Timestamp:
Apr 26, 2010 7:08:53 AM (12 years ago)
Author:
bennylp
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/sock.h

    r2966 r3145  
    523523    /* Do not use this with Winsock2, as this will align pj_sockaddr_in6 
    524524     * to 64-bit boundary and Winsock2 doesn't like it! 
     525     * Update 26/04/2010: 
     526     *  This is now disabled, see http://trac.pjsip.org/repos/ticket/1058 
    525527     */ 
    526 #if defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 && \ 
     528#if 0 && defined(PJ_HAS_INT64) && PJ_HAS_INT64!=0 && \ 
    527529    (!defined(PJ_WIN32) || PJ_WIN32==0) 
    528530    pj_int64_t  u6_addr64[2]; 
Note: See TracChangeset for help on using the changeset viewer.