Ignore:
Timestamp:
Apr 6, 2007 10:29:20 AM (17 years ago)
Author:
bennylp
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport_tcp.h

    r974 r1159  
    2626 
    2727#include <pjsip/sip_transport.h> 
     28 
     29 
     30/* Only declare the API if PJ_HAS_TCP is true */ 
     31#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 
     32 
    2833 
    2934PJ_BEGIN_DECL 
     
    113118 */ 
    114119 
     120#endif  /* PJ_HAS_TCP */ 
     121 
    115122#endif  /* __PJSIP_TRANSPORT_TCP_H__ */ 
Note: See TracChangeset for help on using the changeset viewer.