Skip to content

Commit

Permalink
Re #1630 (misc):
Browse files Browse the repository at this point in the history
Fixed os_darwinos.h (however, if PJ_AUTOCONF is defined, this file should not be used)



git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4626 74dad513-b988-da41-8d7b-12977e46ad98
  • Loading branch information
ming committed Oct 21, 2013
1 parent 6bc6ced commit 07d87d6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pjlib/include/pj/compat/os_darwinos.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@

#define PJ_ATOMIC_VALUE_TYPE long

/*
* Socket related
*/
typedef int socklen_t;

/* Set 1 if native sockaddr_in has sin_len member.
* Default: 0
*/
Expand Down Expand Up @@ -137,8 +132,8 @@ typedef int socklen_t;
*/
#define PJ_THREAD_ALLOCATE_STACK 0

/* Oh well.. MacOS 10.2 doesn't have socklen_t, but 10.4 has! */
#define PJ_HAS_SOCKLEN_T 0
/* MacOS has had socklen since 10.4 */
#define PJ_HAS_SOCKLEN_T 1


#endif /* __PJ_COMPAT_OS_DARWINOS_H__ */
Expand Down

0 comments on commit 07d87d6

Please sign in to comment.