diff options
Diffstat (limited to 'ace/SOCK_SEQPACK_Association.h')
-rw-r--r-- | ace/SOCK_SEQPACK_Association.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/ace/SOCK_SEQPACK_Association.h b/ace/SOCK_SEQPACK_Association.h index 600744bdb5b..c2b25065827 100644 --- a/ace/SOCK_SEQPACK_Association.h +++ b/ace/SOCK_SEQPACK_Association.h @@ -20,17 +20,21 @@ #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 */ + +#include "ace/SOCK_IO.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ace/SOCK_IO.h" #include "ace/Multihomed_INET_Addr.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - // Forward declarations. class ACE_Message_Block; @@ -75,14 +79,14 @@ class ACE_Message_Block; * will result in <send> getting called on Win32 platforms, and * <write> getting called on non-Win32 platforms. */ -class ACE_Export ACE_SOCK_SEQPACK_Association : public ACE_SOCK_IO +class ACE_Sockets_Export ACE_SOCK_SEQPACK_Association : public ACE_SOCK_IO { public: // Initialization and termination methods. /// Constructor. ACE_SOCK_SEQPACK_Association (void); - /// Constructor (sets the underlying ACE_HANDLE with <h>). + /// Constructor (sets the underlying <ACE_HANDLE> with <h>). ACE_SOCK_SEQPACK_Association (ACE_HANDLE h); /// Destructor. @@ -191,8 +195,6 @@ public: ACE_ALLOC_HOOK_DECLARE; }; -ACE_END_VERSIONED_NAMESPACE_DECL - #if defined (__ACE_INLINE__) #include "ace/SOCK_SEQPACK_Association.inl" #endif /* __ACE_INLINE__ */ |