comparison 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
comparison
equal deleted inserted replaced
2136:dd609a99d39a 2137:595cf22b3e7e
33 #pragma once 33 #pragma once
34 34
35 #include "../ParsedDicomFile.h" 35 #include "../ParsedDicomFile.h"
36 36
37 #include <memory> 37 #include <memory>
38
39 #if !defined(ORTHANC_ENABLE_JPEG)
40 # error The macro ORTHANC_ENABLE_JPEG must be defined
41 #endif
42
43 #if !defined(ORTHANC_ENABLE_JPEG_LOSSLESS)
44 # error The macro ORTHANC_ENABLE_JPEG_LOSSLESS must be defined
45 #endif
46
38 47
39 class DcmDataset; 48 class DcmDataset;
40 class DcmCodec; 49 class DcmCodec;
41 class DcmCodecParameter; 50 class DcmCodecParameter;
42 51