summaryrefslogtreecommitdiff
path: root/ace/UNIX_Addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/UNIX_Addr.h')
-rw-r--r--ace/UNIX_Addr.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/ace/UNIX_Addr.h b/ace/UNIX_Addr.h
index fcd6ed9bf46..c1218888d13 100644
--- a/ace/UNIX_Addr.h
+++ b/ace/UNIX_Addr.h
@@ -16,7 +16,12 @@
#include /**/ "ace/pre.h"
-#include "ace/ACE_export.h"
+#ifdef ACE_SOCKETS_BUILD_DLL
+# include "ace/ACE_Sockets_export.h"
+#else
+# include "ace/ACE_export.h"
+# define ACE_Sockets_Export ACE_Export
+#endif /* ACE_SOCKETS_BUILD_DLL */
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -29,14 +34,12 @@
#include "ace/ACE.h"
#include "ace/os_include/sys/os_un.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
/**
* @class ACE_UNIX_Addr
*
* @brief Defines the ``UNIX domain address family'' address format.
*/
-class ACE_Export ACE_UNIX_Addr : public ACE_Addr
+class ACE_Sockets_Export ACE_UNIX_Addr : public ACE_Addr
{
public:
// = Initialization methods.
@@ -73,13 +76,11 @@ public:
/// Transform the string into the current addressing format.
virtual int string_to_addr (const char addr[]);
-#if defined (ACE_HAS_WCHAR)
/// Creates an ACE_UNIX_Addr from a string.
ACE_UNIX_Addr (const wchar_t rendezvous_point[]);
/// Creates an ACE_UNIX_Addr from a string.
int set (const wchar_t rendezvous_point[]);
-#endif /* ACE_HAS_WCHAR */
/// Compare two addresses for equality.
bool operator == (const ACE_UNIX_Addr &SAP) const;
@@ -104,14 +105,10 @@ private:
sockaddr_un unix_addr_;
};
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#if defined (__ACE_INLINE__)
#include "ace/UNIX_Addr.inl"
#endif /* __ACE_INLINE__ */
#endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */
-
#include /**/ "ace/post.h"
-
#endif /* ACE_UNIX_ADDR_H */