diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp index 58fa247372d..f141a087aac 100644 --- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ch.cpp @@ -317,7 +317,7 @@ int be_visitor_sequence_ch::visit_sequence (be_sequence *node) << be_nl << be_nl; // generate a typedef to a parametrized sequence - *os << "class " << be_global->stub_export_macro () + *os << "class " << idl_global->stub_export_macro () << " " << node->local_name () << " : public "; if (this->gen_base_sequence_class (node) == -1) @@ -406,14 +406,14 @@ int be_visitor_sequence_ch::visit_sequence (be_sequence *node) && node->unbounded ()) { *os << "\n" - << "#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)" << be_nl + << "#if defined(TAO_NO_COPY_OCTET_SEQUENCES)" << be_nl << node->local_name () << " (" << be_idt << be_idt_nl << "CORBA::ULong length," << be_nl << "const ACE_Message_Block* mb" << be_uidt_nl << ")" << be_uidt_nl << " : " << node->instance_name () << " (length, mb) {}" << "\n" - << "#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */\n\n"; + << "#endif /* TAO_NO_COPY_OCTET_SEQUENCE */\n\n"; } os->decr_indent (); @@ -492,7 +492,7 @@ be_visitor_sequence_ch::gen_var_defn (be_sequence *node) // for over here. os->indent (); // start with whatever was our current indent level - *os << "class " << be_global->stub_export_macro () + *os << "class " << idl_global->stub_export_macro () << " " << namebuf << be_nl; *os << "{" << be_nl; *os << "public:\n"; @@ -622,7 +622,7 @@ be_visitor_sequence_ch::gen_out_defn (be_sequence *node) // generate the out definition (always in the client header) os->indent (); // start with whatever was our current indent level - *os << "class " << be_global->stub_export_macro () << " " + *os << "class " << idl_global->stub_export_macro () << " " << namebuf << be_nl; *os << "{" << be_nl; *os << "public:\n"; |