diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_codegen.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index c7553969330..531783da149 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -328,10 +328,9 @@ TAO_CodeGen::start_client_stubs (const char *fname) *this->client_stubs_ << "#include \"" << idl_global->be_get_client_hdr_fname (1) << "\"\n\n"; -#if 0 // Nanbor's collocation change - *this->client_stubs_ << "#include \"" << - idl_global->be_get_server_hdr_fname (1) << "\"\n\n"; -#endif /* Nanbor */ + if (idl_global->gen_locality_constraint ()) + *this->client_stubs_ << "#include \"" << + idl_global->be_get_server_hdr_fname (1) << "\"\n\n"; // generate the code that includes the inline file if not included in the // header file |