forked from Mirrors/freeswitch
Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* su.h: define su_family via struct sockaddr git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a579819dba
commit
46c3eec39a
@ -1 +1 @@
|
||||
Thu Feb 12 15:29:54 CST 2009
|
||||
Tue Feb 24 08:43:18 CST 2009
|
||||
|
@ -163,11 +163,10 @@ union su_sockaddr_u {
|
||||
short su_dummy; /**< Dummy member to initialize */
|
||||
#if SU_HAVE_SOCKADDR_SA_LEN
|
||||
#define su_len su_sa.sa_len
|
||||
#define su_family su_sa.sa_family
|
||||
#else
|
||||
#define su_len su_array[0]
|
||||
short su_family;
|
||||
#endif
|
||||
#define su_family su_sa.sa_family
|
||||
#define su_port su_sin.sin_port
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user