From 40133d80a41f438b469b6c94e87fea2a00affa81 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 27 Feb 2020 14:44:34 +0100 Subject: [HICN-536] Define asio standalone in libtransport includes Change-Id: Iac9f80a15877b4e9e5d450fcee3ed41b70dde97b Signed-off-by: Mauro Sardara --- libtransport/includes/hicn/transport/interfaces/socket_consumer.h | 3 ++- libtransport/includes/hicn/transport/interfaces/socket_producer.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h index ee60ecbff..0a6e9a43a 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_consumer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_consumer.h @@ -23,9 +23,10 @@ #include #include +#ifndef ASIO_STANDALONE #define ASIO_STANDALONE +#endif #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 e4823cb5c..b51050307 100644 --- a/libtransport/includes/hicn/transport/interfaces/socket_producer.h +++ b/libtransport/includes/hicn/transport/interfaces/socket_producer.h @@ -23,9 +23,11 @@ #include #include +#ifndef ASIO_STANDALONE #define ASIO_STANDALONE +#endif #include -#undef ASIO_STANDALONE + namespace transport { namespace implementation { -- cgit 1.2.3-korg