Mercurial > hg > orthanc-stone
diff Resources/Orthanc/Core/Compression/ZipWriter.h @ 204:9d269d7cfeb8
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 11:28:27 +0200 |
parents | 03afbee0cc7b |
children |
line wrap: on
line diff
--- a/Resources/Orthanc/Core/Compression/ZipWriter.h Tue Mar 27 11:12:50 2018 +0200 +++ b/Resources/Orthanc/Core/Compression/ZipWriter.h Wed Mar 28 11:28:27 2018 +0200 @@ -33,6 +33,15 @@ #pragma once +#if !defined(ORTHANC_ENABLE_ZLIB) +# error The macro ORTHANC_ENABLE_ZLIB must be defined +#endif + +#if ORTHANC_ENABLE_ZLIB != 1 +# error ZLIB support must be enabled to include this file +#endif + + #include <stdint.h> #include <string> #include <boost/shared_ptr.hpp>