Commit d0fb9e45 authored by smorlat's avatar smorlat
Browse files

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
parent 0402f12f
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment