comparison 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
comparison
equal deleted inserted replaced
2136:dd609a99d39a 2137:595cf22b3e7e
43 #include "../Core/WebServiceParameters.h" 43 #include "../Core/WebServiceParameters.h"
44 44
45 #include "DicomProtocol/RemoteModalityParameters.h" 45 #include "DicomProtocol/RemoteModalityParameters.h"
46 #include "IDatabaseWrapper.h" 46 #include "IDatabaseWrapper.h"
47 #include "ServerEnumerations.h" 47 #include "ServerEnumerations.h"
48
49 #if !defined(ORTHANC_ENABLE_JPEG)
50 # error The macro ORTHANC_ENABLE_JPEG must be defined
51 #endif
52
53 #if !defined(ORTHANC_ENABLE_JPEG_LOSSLESS)
54 # error The macro ORTHANC_ENABLE_JPEG_LOSSLESS must be defined
55 #endif
56
48 57
49 class DcmDataset; 58 class DcmDataset;
50 class DcmItem; 59 class DcmItem;
51 60
52 namespace Orthanc 61 namespace Orthanc