changeset 4104:d5c09b5f882f

publishing Orthanc::Semaphore in shared library
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 06 Jul 2020 11:45:39 +0200
parents c5efe8897da8
children c02a2d9efbc2
files OrthancFramework/Sources/MultiThreading/Semaphore.h
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/MultiThreading/Semaphore.h	Mon Jul 06 10:59:11 2020 +0200
+++ b/OrthancFramework/Sources/MultiThreading/Semaphore.h	Mon Jul 06 11:45:39 2020 +0200
@@ -33,12 +33,14 @@
 
 #pragma once
 
+#include "../OrthancFramework.h"
+
 #include <boost/noncopyable.hpp>
 #include <boost/thread.hpp>
 
 namespace Orthanc
 {
-  class Semaphore : public boost::noncopyable
+  class ORTHANC_PUBLIC Semaphore : public boost::noncopyable
   {
   private:
     unsigned int availableResources_;