[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-devel
Subject: [sr-dev] git:master:ab7bf76e: tcp: use macros from netinet/tcp.h to detect TCP feature
From: Mikko Lehto <mslehto () iki ! fi>
Date: 2016-01-29 15:23:38
Message-ID: E1aPAte-0000aZ-9O () www ! kamailio ! org
[Download RAW message or body]
Module: kamailio
Branch: master
Commit: ab7bf76e8d7cce405d4a90b727cde6be67015c4a
URL: https://github.com/kamailio/kamailio/commit/ab7bf76e8d7cce405d4a90b727cde6be67015c4a
Author: Mikko Lehto <mslehto@iki.fi>
Committer: Mikko Lehto <mslehto@iki.fi>
Date: 2016-01-27T19:26:46+02:00
tcp: use macros from netinet/tcp.h to detect TCP feature
makes tcpops module usable on FreeBSD 10
---
Modified: tcp_options.h
---
Diff: https://github.com/kamailio/kamailio/commit/ab7bf76e8d7cce405d4a90b727cde6be67015c4a.diff
Patch: https://github.com/kamailio/kamailio/commit/ab7bf76e8d7cce405d4a90b727cde6be67015c4a.patch
---
diff --git a/tcp_options.h b/tcp_options.h
index f3b181d..7a134ae 100644
--- a/tcp_options.h
+++ b/tcp_options.h
@@ -74,24 +74,24 @@
/* keepintvl */
#ifndef NO_TCP_KEEPINTVL
-#ifdef __OS_linux
+#ifdef TCP_KEEPINTVL
#define HAVE_TCP_KEEPINTVL
-#endif /* __OS_ */
-#endif /* NO_TCP_KEEPIDLE */
+#endif /* TCP_KEEPINTVL */
+#endif /* NO_TCP_KEEPINTVL */
/* keepidle */
#ifndef NO_TCP_KEEPIDLE
-#ifdef __OS_linux
+#ifdef TCP_KEEPIDLE
#define HAVE_TCP_KEEPIDLE
-#endif /* __OS_*/
+#endif /* TCP_KEEPIDLE*/
#endif /* NO_TCP_KEEPIDLE */
/* keepcnt */
#ifndef NO_TCP_KEEPCNT
-#ifdef __OS_linux
+#ifdef TCP_KEEPCNT
#define HAVE_TCP_KEEPCNT
-#endif /* __OS_ */
+#endif /* TCP_KEEPCNT */
#endif /* NO_TCP_KEEPCNT */
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic