Changeset 1785 for pjproject


Ignore:
Timestamp:
Feb 8, 2008 9:43:30 AM (17 years ago)
Author:
bennylp
Message:

Fixed compilation errors on Symbian and others caused by ticket #472 (FD_SETSIZE was removed)

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/stun_simple_client.c

    r1596 r1785  
    145145            } 
    146146 
    147             select_rc = pj_sock_select(FD_SETSIZE, &r, NULL, NULL, &timeout); 
     147            select_rc = pj_sock_select(PJ_IOQUEUE_MAX_HANDLES, &r, NULL, NULL, &timeout); 
    148148            if (select_rc < 1) 
    149149                continue; 
  • pjproject/trunk/pjlib/src/pj/sock_select_symbian.cpp

    r1235 r1785  
    2727{ 
    2828    unsigned     count; 
    29     CPjSocket   *sock[FD_SETSIZE]; 
     29    CPjSocket   *sock[PJ_IOQUEUE_MAX_HANDLES]; 
    3030}; 
    3131 
     
    4242    symbian_fd_set *fds = (symbian_fd_set *)fdsetp; 
    4343 
    44     PJ_ASSERT_ON_FAIL(fds->count < FD_SETSIZE, return); 
     44    PJ_ASSERT_ON_FAIL(fds->count < PJ_IOQUEUE_MAX_HANDLES, return); 
    4545    fds->sock[fds->count++] = (CPjSocket*)fd; 
    4646} 
  • pjproject/trunk/pjlib/src/pjlib-test/select.c

    r1405 r1785  
    7575    timeout.msec = 0; 
    7676 
    77     n = pj_sock_select(FD_SETSIZE, &fds[0], &fds[1], &fds[2], 
     77    n = pj_sock_select(PJ_IOQUEUE_MAX_HANDLES, &fds[0], &fds[1], &fds[2], 
    7878                       &timeout); 
    7979    if (n < 0) 
Note: See TracChangeset for help on using the changeset viewer.