Ignore:
Timestamp:
Feb 7, 2008 1:11:39 PM (16 years ago)
Author:
bennylp
Message:

Ticket #470, #471, and #472: Compile error when semaphore.h is not present, Compilation error if pthread_mutexattr_set_type() is not present, and Problem with setting up FD_SETSIZE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_select.c

    r974 r1783  
    3434#   pragma warning(disable: 4018)    // Signed/unsigned mismatch in FD_* 
    3535#   pragma warning(disable: 4389)    // Signed/unsigned mismatch in FD_* 
     36#endif 
     37 
     38/* Now that we have access to OS'es <sys/select>, lets check again that 
     39 * PJ_IOQUEUE_MAX_HANDLES is not greater than FD_SETSIZE 
     40 */ 
     41#if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE 
     42#   error "PJ_IOQUEUE_MAX_HANDLES cannot be greater than FD_SETSIZE" 
    3643#endif 
    3744 
Note: See TracChangeset for help on using the changeset viewer.