diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-08-11 08:45:38 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-08-11 08:45:38 +0000 |
commit | 462f6a6774e1bf33282ec5d7358b9fe1aa2aa298 (patch) | |
tree | 460f88a3b29f220548ef93ea5cbc9d6acb02a66f /pjlib/include/pj/compat | |
parent | afe1bd5bc2b105e83b5ce787d290a74f93371253 (diff) |
Fixed #1342: disable local host resolution on iPhone OS
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3692 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/os_auto.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 1dc88028..77980d36 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -177,6 +177,8 @@ # include "Availability.h" /* Use CFHost API for pj_getaddrinfo() (see ticket #1246) */ # define PJ_GETADDRINFO_USE_CFHOST 1 + /* Disable local host resolution in pj_gethostip() (see ticket #1342) */ +# define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1 # ifdef __IPHONE_4_0 /* Is multitasking support available? (see ticket #1107) */ # define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1 |