From 4fe9cf290da8e4cbbd79c3c26078256fc5bf29c1 Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Mon, 23 Mar 2020 17:26:18 +0100 Subject: [PATCH] Add DDS_HAS_PROPERTY_LIST_QOS feature test macro If set, dds_q{set,get}_{prop,bprop} are available. Signed-off-by: Erik Boasson --- src/core/ddsc/include/dds/ddsc/dds_public_qos.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/ddsc/include/dds/ddsc/dds_public_qos.h b/src/core/ddsc/include/dds/ddsc/dds_public_qos.h index 9ce40f0..4146960 100644 --- a/src/core/ddsc/include/dds/ddsc/dds_public_qos.h +++ b/src/core/ddsc/include/dds/ddsc/dds_public_qos.h @@ -23,6 +23,11 @@ #include "dds/export.h" #include "dds/ddsc/dds_public_qosdefs.h" +/* Whether or not the "property list" QoS setting is supported in this version. If it is, + the "dds.sec." properties are treated specially, preventing the accidental creation of + an non-secure participant by an implementation built without support for DDS Security. */ +#define DDS_HAS_PROPERTY_LIST_QOS 1 + #if defined (__cplusplus) extern "C" { #endif