summaryrefslogtreecommitdiff
path: root/ace/ATM_Addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/ATM_Addr.h')
-rw-r--r--ace/ATM_Addr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/ATM_Addr.h b/ace/ATM_Addr.h
index f498d12baf4..c3f112e8c1c 100644
--- a/ace/ATM_Addr.h
+++ b/ace/ATM_Addr.h
@@ -26,14 +26,21 @@
#include "ace/Addr.h"
#if defined (ACE_HAS_FORE_ATM_XTI)
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
typedef ATMSAPAddress ATM_Addr;
+ACE_END_VERSIONED_NAMESPACE_DECL
#elif defined (ACE_HAS_FORE_ATM_WS2)
#define FORE_NAME_SPACE NS_ALL
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
typedef struct sockaddr_atm ATM_Addr;
+ACE_END_VERSIONED_NAMESPACE_DECL
#elif defined (ACE_HAS_LINUX_ATM)
#include /**/ "atm.h"
+// Open versioned namespace, if enabled by the user.
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
//pbrandao:as Linux has this 2 structs separeted we "link it" here
typedef struct _linux_atm_addr
{
@@ -177,6 +184,10 @@ private:
ATM_Addr atm_addr_;
};
+// Close versioned namespace, if enabled by the user.
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+
#if defined (__ACE_INLINE__)
#include "ace/ATM_Addr.inl"
#endif /* __ACE_INLINE__ */