mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
15 lines
622 B
Diff
15 lines
622 B
Diff
--- boost_1_55_0/boost/asio/detail/socket_types.hpp 2014-08-31 12:43:54.186255800 -0500
|
|
+++ boost_1_55_0/boost/asio/detail/socket_types.hpp 2014-08-31 12:43:03.887868700 -0500
|
|
@@ -332,7 +332,11 @@ typedef int signed_size_type;
|
|
# define BOOST_ASIO_OS_DEF_MSG_OOB MSG_OOB
|
|
# define BOOST_ASIO_OS_DEF_MSG_PEEK MSG_PEEK
|
|
# define BOOST_ASIO_OS_DEF_MSG_DONTROUTE MSG_DONTROUTE
|
|
+#ifdef MSG_EOR
|
|
# define BOOST_ASIO_OS_DEF_MSG_EOR MSG_EOR
|
|
+#else
|
|
+# define BOOST_ASIO_OS_DEF_MSG_EOR 0
|
|
+#endif
|
|
# define BOOST_ASIO_OS_DEF_SHUT_RD SHUT_RD
|
|
# define BOOST_ASIO_OS_DEF_SHUT_WR SHUT_WR
|
|
# define BOOST_ASIO_OS_DEF_SHUT_RDWR SHUT_RDWR
|