From bd8380012c308a79861e2e52919e9ff6326d45dc Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 27 Feb 2020 14:02:34 +0100 Subject: [HICN-536] Define asio standalone in libtransport includes Change-Id: I27905885cad1bba8e657e47ed77202a574862b5b Signed-off-by: Mauro Sardara --- libtransport/includes/hicn/transport/interfaces/socket_consumer.h | 2 ++ libtransport/includes/hicn/transport/interfaces/socket_producer.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'libtransport') diff --git a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h index e9e671edd..ee60ecbff 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h @@ -23,7 +23,9 @@ #include #include +#define ASIO_STANDALONE #include +#undef ASIO_STANDALONE #define CONSUMER_FINISHED 0 #define CONSUMER_BUSY 1 diff --git a/libtransport/includes/hicn/transport/interfaces/socket_producer.h b/libtransport/includes/hicn/transport/interfaces/socket_producer.h index 3fe99fbd4..e4823cb5c 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_producer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_producer.h @@ -23,8 +23,9 @@ #include #include +#define ASIO_STANDALONE #include - +#undef ASIO_STANDALONE namespace transport { namespace implementation { -- cgit 1.2.3-korg