Mercurial > hg > orthanc
diff OrthancServer/Internals/DicomImageDecoder.h @ 2137:595cf22b3e7e
safety checks of macros
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 15:07:50 +0100 |
parents | 6c73df12ca51 |
children | a3a65de1840f |
line wrap: on
line diff
--- a/OrthancServer/Internals/DicomImageDecoder.h Wed Nov 09 14:08:05 2016 +0100 +++ b/OrthancServer/Internals/DicomImageDecoder.h Wed Nov 09 15:07:50 2016 +0100 @@ -36,6 +36,15 @@ #include <memory> +#if !defined(ORTHANC_ENABLE_JPEG) +# error The macro ORTHANC_ENABLE_JPEG must be defined +#endif + +#if !defined(ORTHANC_ENABLE_JPEG_LOSSLESS) +# error The macro ORTHANC_ENABLE_JPEG_LOSSLESS must be defined +#endif + + class DcmDataset; class DcmCodec; class DcmCodecParameter;