Ignore:
Timestamp:
Apr 26, 2011 3:07:24 AM (13 years ago)
Author:
ming
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/os_auto.h.in

    r3423 r3543  
    176176#    if TARGET_OS_IPHONE 
    177177#       include "Availability.h" 
     178        /* Use CFHost API for pj_getaddrinfo() (see ticket #1246) */ 
     179#       define PJ_GETADDRINFO_USE_CFHOST 1 
    178180#       ifdef __IPHONE_4_0 
    179             /* Append ".local" suffix to the system's hostname? (see ticket #1104) */ 
    180 #           define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX           1 
    181181            /* Is multitasking support available?  (see ticket #1107) */ 
    182182#           define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT        1 
Note: See TracChangeset for help on using the changeset viewer.