summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_codegen.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2013-03-29 13:12:52 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2013-03-29 13:12:52 +0000
commitc6a1f1b937c077cc3d2106c0b2836037d6d20975 (patch)
treeeb96842dee38f6c26b6d2e7ea8a64d3512b52e00 /TAO/TAO_IDL/be/be_codegen.cpp
parent6563937cdc93d8363805f9700f042131c2fa996b (diff)
downloadATCD-c6a1f1b937c077cc3d2106c0b2836037d6d20975.tar.gz
Fri Mar 29 13:11:10 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* MPC/config/tao_versioning_idl_defaults.mpb: Zapped empty line * TAO_IDL/be/be_codegen.cpp: * TAO_IDL/be/be_global.cpp: * TAO_IDL/be/be_util.cpp: * TAO_IDL/be_include/be_global.h: Added versioning_include to specify a different versioned header include and resolved some problems when trying to use versioned namespaces also for the application code
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index 09a88c38009..b6c53922f27 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -2657,6 +2657,13 @@ TAO_CodeGen::gen_stub_hdr_includes (void)
"tao/Versioned_Namespace.h",
true);
+ if ((be_global->versioning_include () != 0) && (ACE_OS::strlen (be_global->versioning_include ()) > 0))
+ {
+ this->gen_standard_include (this->client_header_,
+ be_global->versioning_include (),
+ true);
+ }
+
// On some platforms, this include isn't needed if certain command
// line options are present. Rather than try to sort that all out,
// and to keep cross-compiling robust, we always generate this