Module: sip-router
Branch: master
Commit: 282a314fca125783803ac67dc926519fb2ecb8df
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=282a314…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Jun 28 11:52:24 2009 +0200
Merge commit 'origin/ser_core_cvs'
* commit 'origin/ser_core_cvs':
core: compile io_wait support even if -DUSE_TCP is not set
tcp: compile fix if -DUSE_TCP is not defined
sctp: compile fix if -DUSE_SCTP is not defined
---
Module: sip-router
Branch: ser_core_cvs
Commit: f836b647ba8ef0bff1f7041c4cc6c9d6e41abff7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f836b64…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Jun 28 09:23:12 2009 +0000
core: compile io_wait support even if -DUSE_TCP is not set
io_wait is needed now also by the ctl module, so it should be
compiled even if no tcp support is desired.
Its compilation can be turned off if NO_IO_WAIT is defined
(but in this case one must make sure so no other piece of code
using it will be compiled).
---
io_wait.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/io_wait.c b/io_wait.c
index 7b53913..5adb8d2 100644
--- a/io_wait.c
+++ b/io_wait.c
@@ -29,7 +29,7 @@
-#ifdef USE_TCP /* for now it make sense only with tcp */
+#ifndef NO_IO_WAIT
#ifdef HAVE_EPOLL
#include <unistd.h> /* close() */
@@ -631,4 +631,4 @@ void destroy_io_wait(io_wait_h* h)
-#endif
+#endif /*ifndef NO_IO_WAIT */
andrei 2009/06/28 11:23:12 CEST
SER CVS Repository
Modified files:
. io_wait.c
Log:
core: compile io_wait support even if -DUSE_TCP is not set
io_wait is needed now also by the ctl module, so it should be
compiled even if no tcp support is desired.
Its compilation can be turned off if NO_IO_WAIT is defined
(but in this case one must make sure so no other piece of code
using it will be compiled).
Revision Changes Path
1.13 +3 -3 sip_router/io_wait.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/io_wait.c.diff?r1=…
andrei 2009/06/28 11:23:02 CEST
SER CVS Repository
Modified files:
. tcp_options.c
Log:
tcp: compile fix if -DUSE_TCP is not defined
Don't try to use tcp_max_connections if tcp support is not
compiled-in.
Revision Changes Path
1.17 +17 -1 sip_router/tcp_options.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/tcp_options.c.diff…
andrei 2009/06/28 11:22:39 CEST
SER CVS Repository
Modified files:
. sctp_options.c
Log:
sctp: compile fix if -DUSE_SCTP is not defined
If -DUSE_SCTP is not defined don't try to use sctp library
includes.
Revision Changes Path
1.13 +3 -1 sip_router/sctp_options.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/sctp_options.c.dif…