summaryrefslogtreecommitdiff
path: root/ace/SOCK_Dgram_Bcast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_Dgram_Bcast.h')
-rw-r--r--ace/SOCK_Dgram_Bcast.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/ace/SOCK_Dgram_Bcast.h b/ace/SOCK_Dgram_Bcast.h
index de0c80cb9e9..c9a7662ffb7 100644
--- a/ace/SOCK_Dgram_Bcast.h
+++ b/ace/SOCK_Dgram_Bcast.h
@@ -15,7 +15,12 @@
#define ACE_SOCK_DGRAM_BCAST_H
#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
@@ -24,14 +29,12 @@
#include "ace/SOCK_Dgram.h"
#include "ace/INET_Addr.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
/**
* @class ACE_Bcast_Node
*
* @brief Linked list of broadcast interfaces.
*/
-class ACE_Export ACE_Bcast_Node
+class ACE_Sockets_Export ACE_Bcast_Node
{
public:
/// Default constructor.
@@ -54,7 +57,7 @@ public:
* @brief Defines the member functions for the ACE_SOCK datagram
* abstraction.
*/
-class ACE_Export ACE_SOCK_Dgram_Bcast : public ACE_SOCK_Dgram
+class ACE_Sockets_Export ACE_SOCK_Dgram_Bcast : public ACE_SOCK_Dgram
{
public:
// = Initialization and termination methods.
@@ -130,8 +133,6 @@ private:
int get_remote_addr (ACE_Addr &) const;
};
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#if defined (__ACE_INLINE__)
#include "ace/SOCK_Dgram_Bcast.inl"
#endif /* __ACE_INLINE__ */