summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_helper.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_helper.cpp26
1 files changed, 5 insertions, 21 deletions
diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp
index a701721f3dd..3468d2d18e3 100644
--- a/TAO/TAO_IDL/be/be_helper.cpp
+++ b/TAO/TAO_IDL/be/be_helper.cpp
@@ -360,7 +360,10 @@ TAO_OutStream::operator<< (const ACE_CDR::Long num)
return *this;
}
-#if defined (ACE_WIN64) || ! (! defined (ACE_HAS_UINT64_T) && ACE_SIZEOF_LONG == 8)
+// (JP) 2008-10-02 - let's try depending on the ACE_CDR basic
+// types to make the two operators below unambiguous and portable.
+//#if defined (ACE_WIN64) || ! (! defined (ACE_HAS_UINT64_T) && ACE_SIZEOF_LONG == 8)
+
TAO_OutStream &
TAO_OutStream::operator<< (const ACE_CDR::ULongLong num)
{
@@ -380,28 +383,9 @@ TAO_OutStream::operator<< (const ACE_CDR::LongLong num)
return *this;
}
-#endif
-/*
-TAO_OutStream &
-TAO_OutStream::operator<< (const unsigned long num)
-{
- ACE_OS::fprintf (this->fp_,
- "%lu",
- num);
-
- return *this;
-}
-TAO_OutStream &
-TAO_OutStream::operator<< (const long num)
-{
- ACE_OS::fprintf (this->fp_,
- "%ld",
- num);
+//#endif
- return *this;
-}
-*/
TAO_OutStream &
TAO_OutStream::operator<< (const TAO_NL&)
{