Add #if version >= 0.8.2 to fix ros2 dashing builds
Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
parent
d70fad6c46
commit
18317eff6c
1 changed files with 2 additions and 0 deletions
|
@ -2915,6 +2915,7 @@ static rmw_ret_t rmw_collect_data_for_endpoint(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if RMW_VERSION_GTE(0, 8, 2)
|
||||||
struct endpoint_info_t
|
struct endpoint_info_t
|
||||||
{
|
{
|
||||||
std::string topic_type;
|
std::string topic_type;
|
||||||
|
@ -3140,6 +3141,7 @@ get_endpoint_info_by_topic(
|
||||||
dds_delete(ppant_rd);
|
dds_delete(ppant_rd);
|
||||||
return RMW_RET_OK;
|
return RMW_RET_OK;
|
||||||
}
|
}
|
||||||
|
#endif // RMW_VERSION_GTE(0, 8, 2)
|
||||||
|
|
||||||
static rmw_ret_t make_names_and_types(
|
static rmw_ret_t make_names_and_types(
|
||||||
rmw_names_and_types_t * tptyp, const std::map<std::string,
|
rmw_names_and_types_t * tptyp, const std::map<std::string,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue