Fixed win32 dll-export
[libcds.git] / src / hp.cpp
index 50dd605321745efd68c7f26429f68bc5a167ca54..6481a2cc5d8ad99e046386518eec3e1642885a6f 100644 (file)
@@ -486,7 +486,7 @@ namespace cds { namespace gc { namespace hp {
         }
     }
 
-    void smr::statistics( stat& st )
+    CDS_EXPORT_API void smr::statistics( stat& st )
     {
         st.clear();
 #   ifdef CDS_ENABLE_HPSTAT
@@ -505,7 +505,7 @@ namespace cds { namespace gc { namespace hp {
 
 }}} // namespace cds::gc::hp
 
-/*static*/ cds::gc::HP::stat const& cds::gc::HP::postmortem_statistics()
+CDS_EXPORT_API /*static*/ cds::gc::HP::stat const& cds::gc::HP::postmortem_statistics()
 {
     return cds::gc::hp::s_postmortem_stat;
 }