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:
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "tcp_ip/flow.h"
|
||||
|
||||
#if TINS_IS_CXX11
|
||||
#ifdef TINS_HAVE_TCPIP
|
||||
|
||||
#include <limits>
|
||||
#include <algorithm>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user