diff Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 3388:18cd4951fccc

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Jun 2019 09:04:26 +0200
parents a48d652f1500
children ad434967a68c
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Wed Jun 05 17:17:48 2019 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp	Thu Jun 06 09:04:26 2019 +0200
@@ -2058,6 +2058,7 @@
 
 
 
+#if HAS_ORTHANC_PLUGIN_HTTP_CLIENT == 1
 #if HAS_ORTHANC_PLUGIN_HTTP_CHUNKED_BODY == 1
   class HttpClient::ChunkedBody : public boost::noncopyable
   {
@@ -2271,4 +2272,5 @@
       ORTHANC_PLUGINS_THROW_PLUGIN_ERROR_CODE(error);
     }
   }
+#endif  /* HAS_ORTHANC_PLUGIN_HTTP_CLIENT == 1 */
 }