diff options
author | mitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-11-07 22:44:47 +0000 |
---|---|---|
committer | mitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-11-07 22:44:47 +0000 |
commit | ad1703031c0016cddf9b3e2a75edbbbf339b3af0 (patch) | |
tree | f41fb9b384a8d0e045f3d63eda413ea63b9222e4 /TAO/TAO_IDL/be/be_codegen.cpp | |
parent | 420bc249c48fa28d9618b480caf27b855260458e (diff) | |
download | ATCD-ad1703031c0016cddf9b3e2a75edbbbf339b3af0.tar.gz |
ChangeLogTag: Fri Nov 7 22:28:08 UTC 2008 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_codegen.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index 3036ccd9d17..9b3ac2fb971 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -1740,6 +1740,19 @@ TAO_CodeGen::gen_stub_hdr_includes (void) this->client_header_ ); + if (be_global->gen_dcps_type_support ()) + { + this->gen_standard_include (this->client_header_, "dds/Version.h"); + *this->client_header_ << + "\n#if DDS_MAJOR_VERSION > 1 || (DDS_MAJOR_VERSION == 1 && " + "(DDS_MINOR_VERSION > 2 || (DDS_MINOR_VERSION == 2 && " + "DDS_MICRO_VERSION >= 1)))\n" + "#define DDS_USE_QUERY_CONDITION_COMPARATOR"; + this->gen_standard_include (this->client_header_, + "dds/DCPS/Comparator_T.h"); + *this->client_header_ << "\n#endif\n"; + } + // DDS/DCPS zero-copy read sequence type support. if (idl_global->dcps_support_zero_copy_read ()) { |