commit | 3569c0d5a7ab077d0f935d40900b9a0ce81faf06 | [log] [tgz] |
---|---|---|
author | Benny Prijono <bennylp@teluu.com> | Fri Apr 06 10:29:20 2007 +0000 |
committer | Benny Prijono <bennylp@teluu.com> | Fri Apr 06 10:29:20 2007 +0000 |
tree | c1908636940a79cd1426b6db41340f87b2c290fe | |
parent | 1b0ee294307e19577081e1f7da2c2754a1230f34 [diff] [blame] |
Fixed ticket #216: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan) git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1159 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/test-pjsip/transport_tcp_test.c b/pjsip/src/test-pjsip/transport_tcp_test.c index 1835f1d..50b59af 100644 --- a/pjsip/src/test-pjsip/transport_tcp_test.c +++ b/pjsip/src/test-pjsip/transport_tcp_test.c
@@ -27,6 +27,7 @@ /* * TCP transport test. */ +#if PJ_HAS_TCP int transport_tcp_test(void) { enum { SEND_RECV_LOOP = 8 }; @@ -141,3 +142,9 @@ /* Done */ return 0; } +#else /* PJ_HAS_TCP */ +int transport_tcp_test(void) +{ + return 0; +} +#endif /* PJ_HAS_TCP */