Fixed win32 dll-export
[libcds.git] / src / dhp.cpp
index 6a0ec71acece32ed35182737592052c48698576d..462de952549eeb029938fd910ed63ced9e2b9c2b 100644 (file)
@@ -501,7 +501,7 @@ namespace cds { namespace gc { namespace dhp {
         scan( pThis );
     }
 
-    void smr::statistics( stat& st )
+    CDS_EXPORT_API void smr::statistics( stat& st )
     {
         st.clear();
 #   ifdef CDS_ENABLE_HPSTAT
@@ -526,7 +526,7 @@ namespace cds { namespace gc { namespace dhp {
 
 }}} // namespace cds::gc::dhp
 
-/*static*/ cds::gc::DHP::stat const& cds::gc::DHP::postmortem_statistics()
+CDS_EXPORT_API /*static*/ cds::gc::DHP::stat const& cds::gc::DHP::postmortem_statistics()
 {
     return cds::gc::dhp::s_postmortem_stat;
 }