diff options
Diffstat (limited to 'games/pokerth/files/patch-src_net_common_clientthread.cpp')
-rw-r--r-- | games/pokerth/files/patch-src_net_common_clientthread.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/games/pokerth/files/patch-src_net_common_clientthread.cpp b/games/pokerth/files/patch-src_net_common_clientthread.cpp deleted file mode 100644 index bd20f2612799..000000000000 --- a/games/pokerth/files/patch-src_net_common_clientthread.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- src/net/common/clientthread.cpp.orig 2017-08-16 12:24:03 UTC -+++ src/net/common/clientthread.cpp -@@ -993,8 +993,12 @@ ClientThread::CreateContextSession() - newSock.reset(new boost::asio::ip::tcp::socket(*m_ioService, tcp::v6())); - else - newSock.reset(new boost::asio::ip::tcp::socket(*m_ioService, tcp::v4())); -+#if BOOST_VERSION < 106600 - boost::asio::socket_base::non_blocking_io command(true); - newSock->io_control(command); -+#else -+ newSock->non_blocking(true); -+#endif - newSock->set_option(tcp::no_delay(true)); - newSock->set_option(boost::asio::socket_base::keep_alive(true)); - |