1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-25 19:51:34 +01:00

Allow disabling TCPIP classes

This commit is contained in:
Matias Fontanini
2016-04-02 09:35:42 -07:00
parent 48022d3a3f
commit 8d52d73968
11 changed files with 36 additions and 26 deletions

View File

@@ -29,7 +29,7 @@
#include "tcp_ip/flow.h"
#if TINS_IS_CXX11
#ifdef TINS_HAVE_TCPIP
#include <limits>
#include <algorithm>

View File

@@ -29,7 +29,7 @@
#include "tcp_ip/stream.h"
#if TINS_IS_CXX11
#ifdef TINS_HAVE_TCPIP
#include <limits>
#include <algorithm>
@@ -307,4 +307,4 @@ void Stream::on_server_out_of_order(const Flow& flow,
} // TCPIP
} // Tins
#endif // TINS_IS_CXX11
#endif // TINS_HAVE_TCPIP

View File

@@ -29,7 +29,7 @@
#include "tcp_ip/stream_follower.h"
#if TINS_IS_CXX11
#ifdef TINS_HAVE_TCPIP
#include <limits>
#include <algorithm>
@@ -203,4 +203,4 @@ void StreamFollower::cleanup_streams(const timestamp_type& now) {
} // TCPIP
} // Tins
#endif // TINS_IS_CXX11
#endif // TINS_HAVE_TCPIP

View File

@@ -29,7 +29,7 @@
#include "tcp_ip/stream_identifier.h"
#if TINS_IS_CXX11
#ifdef TINS_HAVE_TCPIP
#include <algorithm>
#include <tuple>
@@ -128,4 +128,4 @@ StreamIdentifier::address_type StreamIdentifier::serialize(const IPv6Address& ad
} // TCPIP
} // Tins
#endif // TINS_IS_CXX11
#endif // TINS_HAVE_TCPIP