diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-29 18:46:26 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-29 18:46:26 +0000 |
commit | a16ee3f7f682cb07e88e855a14616a682a9bdac2 (patch) | |
tree | 907fcca826284b3b3aad7db7dd71d39d1a022d2a /TAO/tao/MessagingC.cpp | |
parent | 6c30e74e036cca3d2b0b2fe12d6af8b22c6b5753 (diff) | |
download | ATCD-a16ee3f7f682cb07e88e855a14616a682a9bdac2.tar.gz |
ChangeLogTag:Thu Jun 29 11:28:04 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/MessagingC.cpp')
-rw-r--r-- | TAO/tao/MessagingC.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/MessagingC.cpp b/TAO/tao/MessagingC.cpp index a80d45c0761..0cbfa58c05d 100644 --- a/TAO/tao/MessagingC.cpp +++ b/TAO/tao/MessagingC.cpp @@ -2334,7 +2334,7 @@ CORBA::Boolean operator<< ( { // encode all elements -#if defined (TAO_NO_COPY_OCTET_SEQUENCES) +#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) { TAO_Unbounded_Sequence<CORBA::Octet> *oseq = ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (Messaging::PolicyValue::_tao_seq_Octet *)&_tao_sequence); @@ -2344,10 +2344,10 @@ CORBA::Boolean operator<< ( return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); } -#else /* TAO_NO_COPY_OCTET_SEQUENCES */ +#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); -#endif /* TAO_NO_COPY_OCTET_SEQUENCES */ +#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ } return 0; // error } @@ -2367,7 +2367,7 @@ CORBA::Boolean operator<< ( return 1; // retrieve all the elements -#if defined (TAO_NO_COPY_OCTET_SEQUENCES) +#if (TAO_NO_COPY_OCTET_SEQUENCES == 1) if (ACE_BIT_DISABLED (strm.start ()->flags (),ACE_Message_Block::DONT_DELETE)) { TAO_Unbounded_Sequence<CORBA::Octet> *oseq = @@ -2380,10 +2380,10 @@ CORBA::Boolean operator<< ( else return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len); -#else /* TAO_NO_COPY_OCTET_SEQUENCES */ +#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); -#endif /* TAO_NO_COPY_OCTET_SEQUENCES */ +#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ } return 0; // error } |