1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/kea/files/patch-src-lib-asiolink-tcp_socket.h
2018-02-28 04:28:06 +00:00

15 lines
396 B
C

--- src/lib/asiolink/tcp_socket.h.orig 2017-10-05 13:00:03 UTC
+++ src/lib/asiolink/tcp_socket.h
@@ -75,7 +75,11 @@ public:
/// \brief Return file descriptor of underlying socket
virtual int getNative() const {
+#if BOOST_VERSION < 106600
return (socket_.native());
+#else
+ return (socket_.native_handle());
+#endif
}
/// \brief Return protocol of socket