diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-08-01 08:36:52 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-08-01 08:36:52 +0000 |
commit | dd49ff1080e11e52930be4b8ffb66b3a7f98857d (patch) | |
tree | 3f802173b586ec7f4f275102217daae9b0698716 /TAO/TAO_IDL/be/be_codegen.cpp | |
parent | af27e60d083fc627ad168cda397f3ad3ccad809b (diff) | |
download | ATCD-dd49ff1080e11e52930be4b8ffb66b3a7f98857d.tar.gz |
ChangeLogTag: Wed Aug 1 08:25:33 UTC 2007 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_codegen.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index c4eb01b096d..27ab992f9f2 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -245,7 +245,17 @@ TAO_CodeGen::start_client_header (const char *fname) << "#endif /* ACE_LACKS_PRAGMA_ONCE */"; *this->client_header_ << be_nl; + + // So the ostream operator header will be visible in included ORB files. + if (be_global->gen_ostream_operators ()) + { + *this->client_header_ << "\n#if !defined (GEN_OSTREAM_OPS)\n" + << "#define GEN_OSTREAM_OPS\n" + << "#endif /* GEN_OSTREAM_OPS */"; + } + *this->client_header_ << be_nl; + // Other include files. if (be_global->stub_export_include () != 0) |