diff options
Diffstat (limited to 'ace/MEM_IO.h')
-rw-r--r-- | ace/MEM_IO.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ace/MEM_IO.h b/ace/MEM_IO.h index 213587e4346..ecf4588f2ba 100644 --- a/ace/MEM_IO.h +++ b/ace/MEM_IO.h @@ -1,4 +1,4 @@ -/* -*- C++ -*- */ +// -*- C++ -*- //============================================================================= /** @@ -15,6 +15,13 @@ #define ACE_MEM_IO_H #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/SOCK.h" #include "ace/MEM_SAP.h" #include "ace/Memory_Pool.h" @@ -28,7 +35,7 @@ #if (ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1) -class ACE_Export ACE_Reactive_MEM_IO : public ACE_MEM_SAP +class ACE_Memory_Export ACE_Reactive_MEM_IO : public ACE_MEM_SAP { public: ACE_Reactive_MEM_IO (void); @@ -71,7 +78,7 @@ public: }; #if defined (ACE_WIN32) || !defined (_ACE_USE_SV_SEM) -class ACE_Export ACE_MT_MEM_IO : public ACE_MEM_SAP +class ACE_Memory_Export ACE_MT_MEM_IO : public ACE_MEM_SAP { public: typedef struct @@ -163,7 +170,7 @@ private: * the other end. The receiving side then reverses the * procedures and copies the information into user buffer. */ -class ACE_Export ACE_MEM_IO : public ACE_SOCK +class ACE_Memory_Export ACE_MEM_IO : public ACE_SOCK { public: // = Initialization and termination methods. |