diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-02-27 14:02:34 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-02-27 14:02:34 +0100 |
commit | bd8380012c308a79861e2e52919e9ff6326d45dc (patch) | |
tree | 6846b1e90593e93b178af9a4974f1c59d2f97c90 | |
parent | da2366b91ec8d10e4fd15903b689a7abaf5a2769 (diff) |
[HICN-536] Define asio standalone in libtransport includes
Change-Id: I27905885cad1bba8e657e47ed77202a574862b5b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r-- | libtransport/includes/hicn/transport/interfaces/socket_consumer.h | 2 | ||||
-rw-r--r-- | libtransport/includes/hicn/transport/interfaces/socket_producer.h | 3 |
2 files changed, 4 insertions, 1 deletions
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 <hicn/transport/interfaces/socket_options_keys.h> #include <hicn/transport/security/verifier.h> +#define ASIO_STANDALONE #include <asio/io_service.hpp> +#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 <hicn/transport/interfaces/socket_options_keys.h> #include <hicn/transport/security/signer.h> +#define ASIO_STANDALONE #include <asio/io_service.hpp> - +#undef ASIO_STANDALONE namespace transport { namespace implementation { |