From a5c285d7fd046c862ef2ba11cd8bef71786db939 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Fri, 27 Aug 2010 06:46:29 +0000 Subject: Closed ticket #1107: iOS4 background feature * pjlib: * add support for activesock TCP to work in background mode. * add feature in ioqueue to recreate closed UDP sockets. * pjsip-apps: * ipjsua: add support for iPhone OS 4 background mode * ipjsystest: add support for iPhone OS 4 background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/os_auto.h.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pjlib/include/pj/compat') diff --git a/pjlib/include/pj/compat/os_auto.h.in b/pjlib/include/pj/compat/os_auto.h.in index 6fe3276e..5c5f74bf 100644 --- a/pjlib/include/pj/compat/os_auto.h.in +++ b/pjlib/include/pj/compat/os_auto.h.in @@ -169,13 +169,17 @@ /* The type of atomic variable value: */ #undef PJ_ATOMIC_VALUE_TYPE -/* Append ".local" suffix to the system's hostname? */ #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 # include "TargetConditionals.h" # if TARGET_OS_IPHONE # include "Availability.h" # ifdef __IPHONE_4_0 -# define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 + /* 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 */ +# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 1 # endif # endif #endif -- cgit v1.2.3