Ignore:
Timestamp:
Jul 20, 2007 8:08:30 AM (17 years ago)
Author:
bennylp
Message:

Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian

File:
1 edited

Legend:

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

    r1266 r1405  
    101101     */ 
    102102    optlen = sizeof(key->fd_type); 
    103     rc = pj_sock_getsockopt(sock, PJ_SOL_SOCKET, PJ_SO_TYPE, 
     103    rc = pj_sock_getsockopt(sock, pj_SOL_SOCKET(), pj_SO_TYPE(), 
    104104                            &key->fd_type, &optlen); 
    105105    if (rc != PJ_SUCCESS) 
    106         key->fd_type = PJ_SOCK_STREAM; 
     106        key->fd_type = pj_SOCK_STREAM(); 
    107107 
    108108    /* Create mutex for the key. */ 
     
    270270         * so that send() can work in parallel. 
    271271         */ 
    272         if (h->fd_type == PJ_SOCK_DGRAM) { 
     272        if (h->fd_type == pj_SOCK_DGRAM()) { 
    273273            pj_list_erase(write_op); 
    274274 
     
    316316        if (send_rc!=PJ_SUCCESS ||  
    317317            write_op->written == (pj_ssize_t)write_op->size || 
    318             h->fd_type == PJ_SOCK_DGRAM)  
     318            h->fd_type == pj_SOCK_DGRAM())  
    319319        { 
    320320 
    321321            write_op->op = PJ_IOQUEUE_OP_NONE; 
    322322 
    323             if (h->fd_type != PJ_SOCK_DGRAM) { 
     323            if (h->fd_type != pj_SOCK_DGRAM()) { 
    324324                /* Write completion of the whole stream. */ 
    325325                pj_list_erase(write_op); 
Note: See TracChangeset for help on using the changeset viewer.