summaryrefslogtreecommitdiff
path: root/ace/Sbrk_Memory_Pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Sbrk_Memory_Pool.h')
-rw-r--r--ace/Sbrk_Memory_Pool.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ace/Sbrk_Memory_Pool.h b/ace/Sbrk_Memory_Pool.h
index 55856be303b..092099e9e34 100644
--- a/ace/Sbrk_Memory_Pool.h
+++ b/ace/Sbrk_Memory_Pool.h
@@ -16,12 +16,7 @@
#include /**/ "ace/pre.h"
-#ifdef ACE_MEMORY_BUILD_DLL
-# include "ace/ACE_Memory_export.h"
-#else
-# include "ace/ACE_export.h"
-# define ACE_Memory_Export ACE_Export
-#endif /* ACE_MEMORY_BUILD_DLL */
+#include "ace/ACE_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -32,6 +27,9 @@
#include "ace/ACE.h"
#include "ace/os_include/sys/os_mman.h"
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class ACE_Sbrk_Memory_Pool_Options
*
@@ -40,7 +38,7 @@
* This should be a nested class, but that breaks too many
* compilers.
*/
-class ACE_Memory_Export ACE_Sbrk_Memory_Pool_Options
+class ACE_Export ACE_Sbrk_Memory_Pool_Options
{
};
@@ -49,7 +47,7 @@ class ACE_Memory_Export ACE_Sbrk_Memory_Pool_Options
*
* @brief Make a memory pool that is based on <sbrk(2)>.
*/
-class ACE_Memory_Export ACE_Sbrk_Memory_Pool
+class ACE_Export ACE_Sbrk_Memory_Pool
{
public:
typedef ACE_Sbrk_Memory_Pool_Options OPTIONS;
@@ -111,6 +109,9 @@ protected:
/// appropriate chunksize.
virtual size_t round_up (size_t nbytes);
};
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#endif /* !ACE_LACKS_SBRK */
#include /**/ "ace/post.h"