Ignore:
Timestamp:
Feb 8, 2008 3:21:41 PM (17 years ago)
Author:
bennylp
Message:

More ticket #472: Fixed problem when building on Mingw. Now PJ_FD_SETSIZE_SETABLE is only enabled when winsock.h is present

File:
1 edited

Legend:

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

    r1531 r1788  
    3838#include <pj/sock_select.h> 
    3939#include <pj/errno.h> 
     40 
     41/* Now that we have access to OS'es <sys/select>, lets check again that 
     42 * PJ_IOQUEUE_MAX_HANDLES is not greater than FD_SETSIZE 
     43 */ 
     44#if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE 
     45#   error "PJ_IOQUEUE_MAX_HANDLES cannot be greater than FD_SETSIZE" 
     46#endif 
     47 
    4048 
    4149/* 
Note: See TracChangeset for help on using the changeset viewer.