aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-26 11:34:27 -0800
committerJosh Blum <josh@joshknows.com>2011-01-26 11:34:27 -0800
commit2003cda6289c0b9f9d60cfb6d5fdc981f3f4fc9d (patch)
tree17637bc9418d607babdd98c555d2e130f457052a /host/lib/transport
parent789cca28e8f920be56840b29e6e8cf0db1ba61aa (diff)
parentdb1fd30da6def1269eae62b5ccd3c81c28ae000f (diff)
downloaduhd-2003cda6289c0b9f9d60cfb6d5fdc981f3f4fc9d.tar.gz
uhd-2003cda6289c0b9f9d60cfb6d5fdc981f3f4fc9d.tar.bz2
uhd-2003cda6289c0b9f9d60cfb6d5fdc981f3f4fc9d.zip
Merge branch 'macos'
Diffstat (limited to 'host/lib/transport')
-rw-r--r--host/lib/transport/udp_zero_copy_asio.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp
index 5c049cfad..3826dcd79 100644
--- a/host/lib/transport/udp_zero_copy_asio.cpp
+++ b/host/lib/transport/udp_zero_copy_asio.cpp
@@ -353,14 +353,10 @@ template<typename Opt> static void resize_buff_helper(
"See the transport application notes on buffer resizing.\n%s"
) % name % min_sock_buff_size % help_message));
}
-
- //only enable on platforms that are happy with the large buffer resize
- #if defined(UHD_PLATFORM_LINUX) || defined(UHD_PLATFORM_WIN32)
//otherwise, ensure that the buffer is at least the minimum size
else if (udp_trans->get_buff_size<Opt>() < min_sock_buff_size){
resize_buff_helper<Opt>(udp_trans, min_sock_buff_size, name);
}
- #endif /*defined(UHD_PLATFORM_LINUX) || defined(UHD_PLATFORM_WIN32)*/
}
udp_zero_copy::sptr udp_zero_copy::make(