Changeset 2982 for pjproject/trunk


Ignore:
Timestamp:
Nov 4, 2009 1:55:48 AM (15 years ago)
Author:
bennylp
Message:

More ticket #972: setsockopt options compatibility on various platforms: pjlib-test failed on socket test because SOL_SOCKET is defined by Windows Platform SDK as 0xFFFF

File:
1 edited

Legend:

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

    r2964 r2982  
    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 */ 
    174176    if (PJ_SOL_SOCKET==0xFFFF) return -5503; 
     177#endif 
    175178    if (PJ_SOL_IP==0xFFFF) return -5502; 
    176179    if (PJ_SOL_TCP==0xFFFF) return -5510; 
Note: See TracChangeset for help on using the changeset viewer.