Changeset 3016 for pjproject


Ignore:
Timestamp:
Nov 11, 2009 4:36:25 AM (15 years ago)
Author:
nanang
Message:

#972: Removed PJ_SOL_SOCKET check in pjlib-test as it is defined as 0xffff on some platforms (e.g: Win, Mac).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/sock.c

    r2982 r3016  
    172172    if (PJ_AF_INET==0xFFFF) return -5500; 
    173173    if (PJ_AF_INET6==0xFFFF) return -5501; 
    174 #if !defined(PJ_WIN32) || PJ_WIN32==0 
    175     /* SOL_SOCKET is 0xFFFF on Windows Platform SDK */ 
    176     if (PJ_SOL_SOCKET==0xFFFF) return -5503; 
    177 #endif 
     174     
     175    /* 0xFFFF could be a valid SOL_SOCKET (e.g: on some Win or Mac) */ 
     176    //if (PJ_SOL_SOCKET==0xFFFF) return -5503; 
     177     
    178178    if (PJ_SOL_IP==0xFFFF) return -5502; 
    179179    if (PJ_SOL_TCP==0xFFFF) return -5510; 
Note: See TracChangeset for help on using the changeset viewer.