summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp28
1 files changed, 2 insertions, 26 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index 715ce0199e2..caa96561985 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -1795,23 +1795,9 @@ TAO_CodeGen::end_server_template_header ()
// Insert the code to include the template source file.
*this->server_template_header_
- << be_nl_2 << "#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)";
- *this->server_template_header_
<< be_nl << "#include \""
<< be_global->be_get_server_template_skeleton_fname (true)
<< "\"";
- *this->server_template_header_ << be_nl
- << "#endif /* defined REQUIRED SOURCE */";
-
- // Insert the code to include the template pragma.
- *this->server_template_header_
- << be_nl_2 << "#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)";
- *this->server_template_header_
- << be_nl << "#pragma implementation (\""
- << be_global->be_get_server_template_skeleton_fname (true)
- << "\")";
- *this->server_template_header_ << be_nl
- << "#endif /* defined REQUIRED PRAGMA */";
// Code to put the last #endif.
*this->server_template_header_ << "\n\n";
@@ -1916,18 +1902,9 @@ int
TAO_CodeGen::end_ciao_svnt_template_header ()
{
*this->ciao_svnt_template_header_ << be_nl_2
- << "#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)"
- << be_nl << "#include \""
- << be_global->be_get_ciao_tmpl_svnt_src_fname (true)
- << "\"" << be_nl
- << "#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */"
- << be_nl_2
- << "#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)"
- << be_nl << "#pragma implementation (\""
+ << "#include \""
<< be_global->be_get_ciao_tmpl_svnt_src_fname (true)
- << "\")"
- << be_nl << "#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */"
- << be_nl;
+ << "\"" << be_nl;
if (be_global->post_include () != nullptr)
{
@@ -2768,7 +2745,6 @@ TAO_CodeGen::gen_stub_src_includes ()
if (be_global->gen_amh_classes ())
{
- // Necessary for the AIX compiler.
this->gen_standard_include (this->client_stubs_,
"ace/Auto_Ptr.h");
}