diff options
author | Liong Sauw Ming <ming@teluu.com> | 2011-04-26 03:07:24 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2011-04-26 03:07:24 +0000 |
commit | 0af1d2bb99bc9068a06d65511af68bd10f731ba2 (patch) | |
tree | 715329f32d2daf544d05d7ae956d9830f242d282 /pjlib/include/pj/compat | |
parent | d8dc4b6a36d794d9589630be96b9eb7e9b142f1a (diff) |
Fixed #1246: Use CFHost for pj_getaddrinfo() on iOS
* Replace the fix for ticket #1104 with this fix
* Modify pjturn-client/client_main's shutdown() function which conflicts with an existing function
Re-run configure-iphone to use this fix automatically.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3543 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, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 97501a55..1dc88028 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -175,9 +175,9 @@ # include "TargetConditionals.h" # if TARGET_OS_IPHONE # include "Availability.h" + /* Use CFHost API for pj_getaddrinfo() (see ticket #1246) */ +# define PJ_GETADDRINFO_USE_CFHOST 1 # ifdef __IPHONE_4_0 - /* Append ".local" suffix to the system's hostname? (see ticket #1104) */ -# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 /* Is multitasking support available? (see ticket #1107) */ # define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1 /* Enable activesock TCP background mode support */ |