diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-06 10:29:20 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-06 10:29:20 +0000 |
commit | d73e5c4efb3ce395e82ef7f4f88afc2b57e52230 (patch) | |
tree | c1908636940a79cd1426b6db41340f87b2c290fe /pjsip-apps/src/samples/sipstateless.c | |
parent | beddeea87ffeabce44354b7016578f577d7887dc (diff) |
Fixed ticket #216: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1159 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/sipstateless.c')
-rw-r--r-- | pjsip-apps/src/samples/sipstateless.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/samples/sipstateless.c b/pjsip-apps/src/samples/sipstateless.c index 832c021f..53b1fc7c 100644 --- a/pjsip-apps/src/samples/sipstateless.c +++ b/pjsip-apps/src/samples/sipstateless.c @@ -36,7 +36,7 @@ #define HAS_UDP_TRANSPORT /* If this macro is set, TCP transport will be initialized at port 5060 */ -#define HAS_TCP_TRANSPORT +#define HAS_TCP_TRANSPORT (1 && PJ_HAS_TCP) /* Log identification */ #define THIS_FILE "sipstateless.c" @@ -141,7 +141,7 @@ int main(int argc, char *argv[]) } #endif -#ifdef HAS_TCP_TRANSPORT +#if HAS_TCP_TRANSPORT /* * Add UDP transport, with hard-coded port */ |