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/pjlib-test/util.c

    r974 r1405  
    5454     
    5555#if PJ_HAS_TCP 
    56     if (type == PJ_SOCK_STREAM) { 
     56    if (type == pj_SOCK_STREAM()) { 
    5757        rc = pj_sock_listen(sock, 5); 
    5858        if (rc != PJ_SUCCESS) 
     
    8787    /* Retry bind */ 
    8888    pj_bzero(&addr, sizeof(addr)); 
    89     addr.sin_family = PJ_AF_INET; 
     89    addr.sin_family = pj_AF_INET(); 
    9090    for (i=0; i<5; ++i) { 
    9191        addr.sin_port = pj_htons(port++); 
     
    100100    /* For TCP, listen the socket. */ 
    101101#if PJ_HAS_TCP 
    102     if (type == PJ_SOCK_STREAM) { 
     102    if (type == pj_SOCK_STREAM()) { 
    103103        rc = pj_sock_listen(sock[SERVER], PJ_SOMAXCONN); 
    104104        if (rc != PJ_SUCCESS) 
     
    115115    /* For TCP, must accept(), and get the new socket. */ 
    116116#if PJ_HAS_TCP 
    117     if (type == PJ_SOCK_STREAM) { 
     117    if (type == pj_SOCK_STREAM()) { 
    118118        pj_sock_t newserver; 
    119119 
Note: See TracChangeset for help on using the changeset viewer.