Changeset 4626


Ignore:
Timestamp:
Oct 21, 2013 7:04:38 AM (11 years ago)
Author:
ming
Message:

Re #1630 (misc):
Fixed os_darwinos.h (however, if PJ_AUTOCONF is defined, this file should not be used)

File:
1 edited

Legend:

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

    r3553 r4626  
    9393#define PJ_ATOMIC_VALUE_TYPE            long 
    9494 
    95 /* 
    96  * Socket related 
    97  */ 
    98 typedef int socklen_t; 
    99  
    10095/* Set 1 if native sockaddr_in has sin_len member.  
    10196 * Default: 0 
     
    138133#define PJ_THREAD_ALLOCATE_STACK        0 
    139134 
    140 /* Oh well.. MacOS 10.2 doesn't have socklen_t, but 10.4 has! */ 
    141 #define PJ_HAS_SOCKLEN_T                0 
     135/* MacOS has had socklen since 10.4 */ 
     136#define PJ_HAS_SOCKLEN_T                1 
    142137 
    143138 
Note: See TracChangeset for help on using the changeset viewer.