aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/v6/ib_low.h
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-10-10 20:29:00 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-10-10 20:39:48 +0300
commit6828a4d1ef57ec587d0a001586e4d1d9eb0cf2d5 (patch)
treee75ebb6c3edb6f918300ce2dda7f03178548d178 /library/cpp/netliba/v6/ib_low.h
parent4a5555fe56f16366d84fd424436785f8c38c3128 (diff)
downloadydb-6828a4d1ef57ec587d0a001586e4d1d9eb0cf2d5.tar.gz
Intermediate changes
commit_hash:93cf56fbe7125e68c2d1b9d57ae3ed8db0052605
Diffstat (limited to 'library/cpp/netliba/v6/ib_low.h')
-rw-r--r--library/cpp/netliba/v6/ib_low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/netliba/v6/ib_low.h b/library/cpp/netliba/v6/ib_low.h
index f75f1e5379..19be819b43 100644
--- a/library/cpp/netliba/v6/ib_low.h
+++ b/library/cpp/netliba/v6/ib_low.h
@@ -2,7 +2,7 @@
#include "udp_address.h"
-#if defined(_linux_)
+#if defined(_linux_) && !defined(__ANDROID__)
#include <contrib/libs/ibdrv/include/infiniband/verbs.h>
#include <contrib/libs/ibdrv/include/rdma/rdma_cma.h>
#endif
@@ -22,7 +22,7 @@ namespace NNetliba {
const size_t MAX_INLINE_DATA_SIZE = 16;
const int MAX_OUTSTANDING_RDMA = 10;
-#if defined(_linux_)
+#if defined(_linux_) && !defined(__ANDROID__)
class TIBContext: public TThrRefBase, TNonCopyable {
ibv_context* Context;
ibv_pd* ProtDomain;