Ignore:
Timestamp:
Apr 6, 2007 10:25:23 AM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #215: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjsip/src/test-pjsip/test.c

    r974 r1158  
    227227    unsigned i; 
    228228    pjsip_transport *tp; 
     229#if PJ_HAS_TCP 
    229230    pjsip_tpfactory *tpfactory; 
    230 #endif 
     231#endif  /* PJ_HAS_TCP */ 
     232#endif  /* INCLUDE_TSX_TEST */ 
    231233    int line; 
    232234 
     
    332334    } 
    333335 
     336#if PJ_HAS_TCP 
    334337    status = pjsip_tcp_transport_start(endpt, NULL, 1, &tpfactory); 
    335338    if (status == PJ_SUCCESS) { 
     
    343346        goto on_return; 
    344347    } 
     348#endif 
    345349 
    346350 
Note: See TracChangeset for help on using the changeset viewer.