Changeset 26

Show
Ignore:
Timestamp:
09/27/05 14:24:16 (3 years ago)
Author:
ross
Message:

fix for macosx socklen_t definition. now works on old and new (post 10.3) systems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • oscpack/trunk/ip/posix/UdpSocket.cpp

    r18 r26  
    2525 
    2626 
    27 // not sure why the following is missing on OSX 
    28 #ifdef __APPLE__ 
     27#if defined(__APPLE__) && !defined(_SOCKLEN_T_) 
     28// pre system 10.3 didn have socklen_t 
    2929typedef ssize_t socklen_t; 
    3030#endif