mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
attempt to fix a compilation problem for macos.
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@624 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
0402f12fe6
commit
d0fb9e4534
1 changed files with 1 additions and 4 deletions
|
|
@ -752,11 +752,8 @@ int linphone_core_get_local_ip_for(const char *dest, char *result){
|
|||
struct addrinfo *res=NULL;
|
||||
struct sockaddr_storage addr;
|
||||
ortp_socket_t sock;
|
||||
#ifdef __APPLE_CC__
|
||||
int s;
|
||||
#else
|
||||
socklen_t s;
|
||||
#endif
|
||||
|
||||
memset(&hints,0,sizeof(hints));
|
||||
hints.ai_family=PF_UNSPEC;
|
||||
hints.ai_socktype=SOCK_DGRAM;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue