From 0af1d2bb99bc9068a06d65511af68bd10f731ba2 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 26 Apr 2011 03:07:24 +0000 Subject: 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 --- pjlib/include/pj/compat/os_auto.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pjlib/include') 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 */ -- cgit v1.2.3