Mercurial > hg > orthanc
diff OrthancServer/OrthancInitialization.h @ 2137:595cf22b3e7e
safety checks of macros
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 15:07:50 +0100 |
parents | bb199bccdc45 |
children | 9b373b7d6713 |
line wrap: on
line diff
--- a/OrthancServer/OrthancInitialization.h Wed Nov 09 14:08:05 2016 +0100 +++ b/OrthancServer/OrthancInitialization.h Wed Nov 09 15:07:50 2016 +0100 @@ -46,6 +46,15 @@ #include "IDatabaseWrapper.h" #include "ServerEnumerations.h" +#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 DcmItem;