summaryrefslogtreecommitdiff
path: root/ace/SOCK_CODgram.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK_CODgram.h')
-rw-r--r--ace/SOCK_CODgram.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/ace/SOCK_CODgram.h b/ace/SOCK_CODgram.h
index 007f7352c97..7381b33f8f4 100644
--- a/ace/SOCK_CODgram.h
+++ b/ace/SOCK_CODgram.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C++ -*- */
//=============================================================================
/**
@@ -15,7 +15,13 @@
#define ACE_SOCK_CODGRAM_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
@@ -25,15 +31,13 @@
#include "ace/Addr.h"
#include "ace/INET_Addr.h"
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
/**
* @class ACE_SOCK_CODgram
*
* @brief Defines the member functions for the ACE_SOCK connected
* datagram abstraction.
*/
-class ACE_Export ACE_SOCK_CODgram : public ACE_SOCK_IO
+class ACE_Sockets_Export ACE_SOCK_CODgram : public ACE_SOCK_IO
{
public:
// = Initialization methods.
@@ -68,8 +72,6 @@ public:
ACE_ALLOC_HOOK_DECLARE;
};
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#if defined (__ACE_INLINE__)
#include "ace/SOCK_CODgram.inl"
#endif /* __ACE_INLINE__ */