Ignore:
Timestamp:
Apr 6, 2007 10:25:23 AM (17 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-apps/src/samples/sipstateless.c

    r974 r1158  
    3737 
    3838/* If this macro is set, TCP transport will be initialized at port 5060 */ 
    39 #define HAS_TCP_TRANSPORT 
     39#define HAS_TCP_TRANSPORT   (1 && PJ_HAS_TCP) 
    4040 
    4141/* Log identification */ 
     
    142142#endif 
    143143 
    144 #ifdef HAS_TCP_TRANSPORT 
     144#if HAS_TCP_TRANSPORT 
    145145    /*  
    146146     * Add UDP transport, with hard-coded port  
Note: See TracChangeset for help on using the changeset viewer.