summaryrefslogtreecommitdiff
path: root/ace/CDR_Stream.cpp
diff options
context:
space:
mode:
authoroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:20:52 +0000
committeroci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:20:52 +0000
commitaef08effe6190f3793eba01f8a1a6fcf4e2ba5ed (patch)
tree7689214cc55e7ec9c191904d3ecd873f3dfbcb6c /ace/CDR_Stream.cpp
parenta3087518bb259edd784c56eb74966d05dded0ba8 (diff)
downloadATCD-aef08effe6190f3793eba01f8a1a6fcf4e2ba5ed.tar.gz
ChangeLogTag: Tue Sep 4 09:14:36 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ace/CDR_Stream.cpp')
-rw-r--r--ace/CDR_Stream.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ace/CDR_Stream.cpp b/ace/CDR_Stream.cpp
index 38c871864f7..831b1b3876e 100644
--- a/ace/CDR_Stream.cpp
+++ b/ace/CDR_Stream.cpp
@@ -1400,6 +1400,20 @@ ACE_InputCDR::reset_contents (void)
// --------------------------------------------------------------
+#if defined (VXWORKS) && defined (ghs)
+ACE_CDR::Boolean
+ACE_OutputCDR::write_float (ACE_CDR::Float x)
+{
+ return this->write_4 (ACE_reinterpret_cast (const ACE_CDR::ULong*, &x));
+}
+
+ACE_CDR::Boolean
+ACE_InputCDR::read_float (ACE_CDR::Float &x)
+{
+ return this->read_4 (ACE_reinterpret_cast (ACE_CDR::ULong*, &x));
+}
+#endif /* VXWORKS && ghs */
+
ACE_CDR::Boolean
operator<< (ACE_OutputCDR &os, const ACE_CString &x)
{