summaryrefslogtreecommitdiff
path: root/ace/CDR_Base.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/CDR_Base.inl')
-rw-r--r--ace/CDR_Base.inl6
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/CDR_Base.inl b/ace/CDR_Base.inl
index 6d6222ff40d..84e14344cc5 100644
--- a/ace/CDR_Base.inl
+++ b/ace/CDR_Base.inl
@@ -2,6 +2,8 @@
//
// $Id$
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
//
// The ACE_CDR::swap_X and ACE_CDR::swap_X_array routines are broken
// in 4 cases for optimization:
@@ -97,7 +99,7 @@ ACE_CDR::swap_4 (const char* orig, char* target)
ACE_INLINE void
ACE_CDR::swap_8 (const char* orig, char* target)
{
-#if defined(__amd64__) && defined(__GNUG__)
+#if defined(__amd64__) && defined(__GNUG__)
register unsigned long x =
* reinterpret_cast<const unsigned long*> (orig);
asm ("bswapq %1" : "=r" (x) : "0" (x));
@@ -196,4 +198,6 @@ ACE_CDR::next_size (size_t minsize)
return newsize;
}
+ACE_END_VERSIONED_NAMESPACE_DECL
+
// ****************************************************************