Ignore:
Timestamp:
Jul 15, 2010 1:32:11 PM (14 years ago)
Author:
ming
Message:

Fixed #1104: Append ".local" to the system's hostname in IOS 4.

File:
1 edited

Legend:

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

    r3059 r3238  
    170170#undef PJ_ATOMIC_VALUE_TYPE 
    171171 
     172/* Append ".local" suffix to the system's hostname? */ 
     173#if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 
     174#    include "TargetConditionals.h" 
     175#    if defined(__IPHONE_4_0) && \ 
     176        __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0 
     177#       define PJ_GETHOSTNAME_APPEND_LOCAL_SUFFIX 1 
     178#    endif 
     179#endif 
     180 
    172181/* If 1, use Read/Write mutex emulation for platforms that don't support it */ 
    173182#undef PJ_EMULATE_RWMUTEX 
Note: See TracChangeset for help on using the changeset viewer.