diff options
author | Liong Sauw Ming <ming@teluu.com> | 2016-11-17 04:38:25 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2016-11-17 04:38:25 +0000 |
commit | 6ac615fc101529f55ed352e1273c33d89b111996 (patch) | |
tree | 7fb706851885d46b70d7f0f484128d2fbb46f1d2 /pjlib/include/pj/compat | |
parent | 2bf76ec48f3400cfea42498ae93240b2f9510220 (diff) |
Fixed #1979: Add support to parse address string with scope ID
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5485 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/os_auto.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 0cf14968..55dd6520 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -181,6 +181,10 @@ #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 /* Disable local host resolution in pj_gethostip() (see ticket #1342) */ # define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1 + /* Use pj_getaddrinfo() (instead of pj_inet_pton()) in + * pj_sockaddr_set_str_addr() + */ +# define PJ_SOCKADDR_USE_GETADDRINFO 1 # include "TargetConditionals.h" # if TARGET_OS_IPHONE |